CustomTypeDescriptor extensions.
Definition
Namespace:Telerik.Windows.Data.Expressions
Assembly:Telerik.Windows.Data.dll
Syntax:
C#
public static class CustomTypeDescriptorExtensions
Inheritance: objectCustomTypeDescriptorExtensions
Methods
Gets the value of a property on the given custom type descriptor.
C#
public static T Property<T>(this ICustomTypeDescriptor typeDescriptor, string propertyName)
The type descriptor, which property will be accessed.
propertyNamestringName of the property.
Returns:T
The value of the given property for the given custom type descriptor.
Gets the value of a property on the given component via call to TypeDescriptor.GetProperties.