Form designer - executing user control properties
-
Hi I have a user control which has a number of custom properties. Unfortunately these properties are not suitable for the designer to execute. As a result form’s which use this user control won’t open at design time in the designer. Is there some way to prevent the designer from executing my user control properties? Cheers Rich
-
Hi I have a user control which has a number of custom properties. Unfortunately these properties are not suitable for the designer to execute. As a result form’s which use this user control won’t open at design time in the designer. Is there some way to prevent the designer from executing my user control properties? Cheers Rich
-
Hi I have a user control which has a number of custom properties. Unfortunately these properties are not suitable for the designer to execute. As a result form’s which use this user control won’t open at design time in the designer. Is there some way to prevent the designer from executing my user control properties? Cheers Rich
Apply the [Browsable(false)] attribute to the properties which should not appear in the Properties window at design time. :josh: My WPF Blog[^]
-
Hi I have a user control which has a number of custom properties. Unfortunately these properties are not suitable for the designer to execute. As a result form’s which use this user control won’t open at design time in the designer. Is there some way to prevent the designer from executing my user control properties? Cheers Rich