ParenthesizePropertyNameAttribute

ParenthesizePropertyNameAttribute

System.ComponentModel (system.dll) sealed class

You can mark a property with this attribute if its name should be placed in parentheses when displayed in a designer. Note that this has the side effect of bumping it near to the top of its category or list. Typically, it is used to indicate derived properties.

 public sealed class  ParenthesizePropertyNameAttribute  : Attribute {  // Public Constructors  public  ParenthesizePropertyNameAttribute  ();    public  ParenthesizePropertyNameAttribute  (bool  needParenthesis  );  // Public Static Fields  public static readonly ParenthesizePropertyNameAttribute  Default  ;  // =System.ComponentModel.ParenthesizePropertyNameAttribute   // Public Instance Properties  public bool  NeedParenthesis  {get; }  // Public Instance Methods  public override bool  Equals  (object  o  );  // overrides Attribute  public override int  GetHashCode  ();  // overrides Attribute  public override bool  IsDefaultAttribute  ();  // overrides Attribute  } 

Hierarchy

System.Object System.Attribute ParenthesizePropertyNameAttribute

Valid On

All



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net