New to Telerik UI for WPF? Start a free 30-day trial

ICustomTypeProvider extensions.

Definition

Namespace:Telerik.Windows.Data.Expressions

Assembly:Telerik.Windows.Data.dll

Syntax:

C#
public static class CustomTypeProviderExtensions

Inheritance: objectCustomTypeProviderExtensions

Methods

Gets the value of a property on the given custom type provider.

C#
public static T Property<T>(this ICustomTypeProvider typeProvider, string propertyName)
Parameters:typeProviderICustomTypeProvider

The type provider, which property will be accessed.

propertyNamestring

Name of the property.

Returns:

T

The value of the given property for the given custom type provider.

Gets the value of a property on the given component.

C#
public static T Property<T>(object component, string propertyName)
Parameters:componentobject

The component, which property will be accessed.

propertyNamestring

Name of the property.

Returns:

T

The value of the given property for the given component.