Property Class |
public class Property : Item, IDisposable, INotifyPropertyChanged
The Property type exposes the following members.
| Name | Description | |
|---|---|---|
| Attributes | Gets the attributes associated with the property. | |
| Category | Gets the category of the property. | |
| Description | Gets the property description. | |
| Disposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from Item) | |
| IsReadOnly | Gets a value indicating whether the property is read-only. | |
| IsWriteable | Gets a value indicating whether the property can be written. | |
| Name | Gets the display name of the property. | |
| PropertyType | Gets the property type. | |
| Value | Gets or sets the current property value. |
| Name | Description | |
|---|---|---|
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from Item) | |
| Dispose(Boolean) |
Releases the resources used by this instance.
(Overrides ItemDispose(Boolean)) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
Finalizes the instance.
(Inherited from Item) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| NotifyPropertyChanged |
Raises the PropertyChanged event for the specified property.
(Inherited from Item) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| PropertyChanged |
Occurs when a property value changes.
(Inherited from Item) |
| Name | Description | |
|---|---|---|
| _instance | The object instance that owns the reflected property. | |
| _property | The reflected property descriptor. | |
| CompareByCategoryThenByName | Compares properties first by category and then by name. | |
| CompareByName | Compares properties by name. |
This class originated from the 'WPG Property Grid' project (http://wpg.codeplex.com), licensed under Ms-PL.