event notification
-
Hi, I am developing WPF custom controls. Is there a way to get notification when a property value in changed by the Visual studio IDE xaml Editor ( not through the Property dialog). I need the notification in custom control class
-
Hi, I am developing WPF custom controls. Is there a way to get notification when a property value in changed by the Visual studio IDE xaml Editor ( not through the Property dialog). I need the notification in custom control class
Give this a look. It will point you in the right direction. You'll need to ensure that the property is a dependency property and that you use the CallBack available to notify you when the proeprty gets changed. http://msdn.microsoft.com/en-us/library/system.componentmodel.designerproperties.isindesignmode.aspx[^] Any reason you need this?
Cheers, Karl
» CodeProject 2008 MVP My Blog | Mole's Home Page | XAML Power Toys Home PageJust a grain of sand on the worlds beaches.