equivalent of [XmlIgnore] for property grid

  • Thread starter Thread starter Romain TAILLANDIER
  • Start date Start date
R

Romain TAILLANDIER

Hi group

When i use [XmlIgnore] attribut for xml serialisation purpose, it does not
appears in the Xml doc.
I need the same attribut for PropertyGrid class. some attribute wich make
the property to not appears in my PropertyGrid.

Is somebody know about it ??

thank you
ROM
 
Hi group

When i use [XmlIgnore] attribut for xml serialisation purpose, it does not
appears in the Xml doc.
I need the same attribut for PropertyGrid class. some attribute wich make
the property to not appears in my PropertyGrid.

Is somebody know about it ??

Use the Browsable attribute:

[Browsable(false)]
public string myProp ...
 
THANK YOU PATRICK :D


Patrick Steele said:
Hi group

When i use [XmlIgnore] attribut for xml serialisation purpose, it does not
appears in the Xml doc.
I need the same attribut for PropertyGrid class. some attribute wich make
the property to not appears in my PropertyGrid.

Is somebody know about it ??

Use the Browsable attribute:

[Browsable(false)]
public string myProp ...
 
Back
Top