is it possible to hide control properties in designer property grid in c#? -


i wondering if possible hide or show specific properties of control or custom control on property grid @ design time.

this mean: assume have custom combobox

when i'm on designer view see it's datasource, valuemember , displaymember properties.

is possible?

there browsableattribute when set false hide property, since deriving combobox, wouldn't able add attribute since properties in base class. haven't tried this, you'll have to, might work if hide properties want hide using new keyword in custom combobox class , applying browseable(false) attribute there. you'd have every property want hide. if doesn't work, guess answer no :).


Comments