how to make a property appear in .xaml file
-
Hi, I am working with designing custom controls for WPF applications. My problem is I couldn't find a way to force a control property appear in the XAML window by default. It appears only when its changed by the user. for example a button has a propert called myProp which I initializes in the constructor, but It doesn't gets reflected in the XAML file of the window. pls tell me how to force a property to appear in the .xaml file, by default whenever a control is placed on the WPF window. thanks in advance, vinod
-
Hi, I am working with designing custom controls for WPF applications. My problem is I couldn't find a way to force a control property appear in the XAML window by default. It appears only when its changed by the user. for example a button has a propert called myProp which I initializes in the constructor, but It doesn't gets reflected in the XAML file of the window. pls tell me how to force a property to appear in the .xaml file, by default whenever a control is placed on the WPF window. thanks in advance, vinod
Simple answer, you can't. Sorry about that.
Deja View - the feeling that you've seen this post before.
-
Simple answer, you can't. Sorry about that.
Deja View - the feeling that you've seen this post before.
thn how microsoft manages to embed some control property into the xaml by default. Like the name proprty of a control derived from Usercontrol. or can tell me if there is any work around
modified on Tuesday, October 14, 2008 2:50 AM