BindableAttribute

BindableAttribute

System.ComponentModel (system.dll) sealed class

This attribute class is applied to properties to indicate to the designer that you would normally expect to use them in a data-binding scenario.

While you can use the data-binding framework to bind to any property, this attribute allows you to hint to the designer that this property should be listed in any preferred set of bound properties.

You can use the Bindable property to determine the state of the attribute, but you must compare to the static BindableSupport.Yes or BindableSupport.No values for equality.

 public sealed class  BindableAttribute  : Attribute {  // Public Constructors  public  BindableAttribute  (BindableSupport  flags  );    public  BindableAttribute  (bool  bindable  );  // Public Static Fields  public static readonly BindableAttribute  Default  ;  // =System.ComponentModel.BindableAttribute  public static readonly BindableAttribute  No  ;  // =System.ComponentModel.BindableAttribute  public static readonly BindableAttribute  Yes  ;  // =System.ComponentModel.BindableAttribute   // Public Instance Properties  public bool  Bindable  {get; }  // Public Instance Methods  public override bool  Equals  (object  obj  );  // overrides Attribute  public override int  GetHashCode  ();  // overrides Attribute  public override bool  IsDefaultAttribute  ();  // overrides Attribute  } 

Hierarchy

System.Object System.Attribute BindableAttribute

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