Saturday, January 18, 2014

PropertyDescriptor in WPF

It provides an abstraction of a property on a class.A description of a property consists of a name,its attributes,the components class associated with and the types of property.It provides a mechanism to listen to property changed events of the owner class of the actual property has INotifyPropertyChanged implemented.
It provides following properties and method
1.       Converter-It contains the TypeConverter for this property
2.       IsLocalizable-It indicates whether the property can be localized
3.       GetEditor-It returns an editor of the specified type.
It also provides following abstract properties and methods
1.       ComponentType
2.       IsReadOnly
3.       PropertyType
4.       CanResetValue
5.       GetValue
6.       ResetValue

No comments:

Copyright © Codingnodes,2014.All Rights Reserved.