Hi Nicolas,
thanks so much for answering my question, Now i do know of the technique whereby you create a class with all the properties you want and decorate them with the usual attributes e.g :
<CategoryAttribute("Application"), _
Browsable(True), _
[ReadOnly](False), _
BindableAttribute(False), _
DefaultValueAttribute(""), _
DesignOnly(False), _
DescriptionAttribute("Enter Title for the application")> _
Public String Title
{
get
{
Return _Title
}
Set
{
_Title = Value
}
}
but how do i use the NameExtenderProvider ? i dont know of this technique could you please ellaborate possibly with a code sample?
as i am trying to display the Name without having to create a new Name property for my usercontrol to return the windows default control's name, also i am trying to hide some of the sections that the PropertyGrid Control Provides as my usercontrols do not need to display absolutely every property you can imagine of the current control, i amsure this is the default of course, but there must be a way of displaying the sections you want, and setting of the properties displayed to read only e.tc ?
thanks very much