Hi,
if you want to see a property in the PropertyGrid, you need to have the BrowsableAttribute set to True (default is True).
If you want to only show some properties, you could :
a) modify BrowsableAttribute of the non-visible properties to be False
b) use the AutoGenerateProperties = false and use the PropertyDefinitions to set the properties you want to see. You can set this in Code-behind if its simpler for you.
c) You can modify the method ObjectContainerHelper.GenerateSubPropertiesCore(). this is where the properties are added to the PropertyGrid.
if you want to see a property in the PropertyGrid, you need to have the BrowsableAttribute set to True (default is True).
If you want to only show some properties, you could :
a) modify BrowsableAttribute of the non-visible properties to be False
b) use the AutoGenerateProperties = false and use the PropertyDefinitions to set the properties you want to see. You can set this in Code-behind if its simpler for you.
c) You can modify the method ObjectContainerHelper.GenerateSubPropertiesCore(). this is where the properties are added to the PropertyGrid.