.net - WPF - Load Control and Resources at design time -


i've assembly contains many xaml files of resource dictionaries.

then, i've many assemblies contains wpf custom controls (*.cs files).

all resource dictionaries , wpf custom controls coupled @ runtime , works perfectly. also, way, i'm able switch templates @ design time loading different assembly of themes via reflection.

the issue: actually, i'm not able see custom control @ design time.

the simplest case following: i've custom control (*.cs file only) inherit button class. then, override onapplytemplate method in order load resources loaded @ runtime other assembly, visual studio designer unable render custom control.

is there workaround in order see controls @ design time?


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -