Is it possible to define some settings for the wpf designer?
I’d like to offer the user 2 display modes: “Draw Everything with Borders” and “Runtime View”.
My Custom Components should then be able to check the settings and draw themselfes accordingly.
Is it possible to define some settings for the wpf designer? I’d like to
Share
I have a suggestion, why don’t you just add a DependencyProperty your Custom Component that will be “DisplayMode” and depending of that the developer put in the property (from Xaml or C#) that the Custom Component will render the way you want?
In the Xaml :