Class
CustomTypeDescriptorExtensions

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

ICustomTypeDescriptor

The type descriptor, which property will be accessed.

propertyName

string

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.

Declaration

cs-api-definition
public static T Property<T>(object component, string propertyName)

Parameters

component

object

The component, which property will be accessed.

propertyName

string

Name of the property.

Returns

T

The value of the given property for the given component.