2 // System.ComponentModel.BindableAttribute.cs
5 // Tim Coleman (tim@timcoleman.com)
7 // Copyright (C) Tim Coleman, 2002
11 namespace System.ComponentModel {
12 [AttributeUsage (AttributeTargets.All)]
13 public sealed class BindableAttribute : Attribute {
17 BindableSupport flags;
22 public static readonly BindableAttribute No = new BindableAttribute (BindableSupport.No);
23 public static readonly BindableAttribute Yes = new BindableAttribute (BindableSupport.Yes);
24 public static readonly BindableAttribute Default = new BindableAttribute (BindableSupport.Default);
28 public BindableAttribute (BindableSupport flags)
31 this.bindable = false;
34 public BindableAttribute (bool bindable)
36 this.bindable = bindable;
39 #endregion // Constructors
43 public bool Bindable {
44 get { return bindable; }
47 #endregion // Properties
52 public override bool Equals (object obj)
54 throw new NotImplementedException ();
58 public override int GetHashCode ()
60 throw new NotImplementedException ();
64 public override bool IsDefaultAttribute ()
66 throw new NotImplementedException ();