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