locked
Aggregate controls in user control and expose in property grid RRS feed

  • Question

  • User2132249967 posted

    Hello,

    I'm not sure if this use case is possible, but I'm hoping that it is.  I have a user control that aggregates a couple of controls, a grid and a toolbar.  I want the user to be able to drop my user control, and in the properties grid of the user control, be able to change the properties of the grid and the toolbar.  So the user control would have Grid and Toolbar properties, and those would be expandable and show the properties of the aggregated controls.

    I have been experimenting with the different attributes that seem to be related to this, such as TypeConverter(typeof(ExpandableObjectConverter)), PersistenceMode(PersistenceMode.InnerProperty), etc. but have not had much success. 

    Is this possible?  Is there an alternative implementation that would get me something similar?

    Thanks for the help,

    ~ Justin

    Monday, April 7, 2008 10:57 AM

Answers

  • User-1136466523 posted

    Hi,

    <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>

    TypeConverter is a feature in Custom Controls Design Time Support, it’s for custom server controls.

    <o:p> </o:p><o:p> </o:p>

    Thanks.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, April 8, 2008 10:20 PM