ClassTypeExtensions
Class
TypeExtensions.
Definition
Namespace:Telerik.Windows.Controls.Data
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
cs-api-definition
public static class TypeExtensions
Inheritance: objectTypeExtensions
Methods
ToItemProperties(Type)
Converts the type to a collection of ItemPropertyInfo objects.
Declaration
cs-api-definition
public static IEnumerable<ItemPropertyInfo> ToItemProperties(this Type source)
Parameters
source
The type.
Returns
IEnumerable<ItemPropertyInfo>
ToItemPropertyDefinitions(Type)
Converts the type to a collection of ItemPropertyDefinition objects.
Declaration
cs-api-definition
public static IEnumerable<ItemPropertyDefinition> ToItemPropertyDefinitions(this Type source)
Parameters
source
The type.
Returns
ToOrderedAutoGenerateFilterItemPropertyDefinitions(Type)
Takes a type, gets its ItemProperties, filters out the ones that should not be auto-generated, orders them according to their Order attribute (SL only), creates an ItemPropertyDefinition for each one and returns the resulting collection.
Declaration
cs-api-definition
public static IList<ItemPropertyDefinition> ToOrderedAutoGenerateFilterItemPropertyDefinitions(this Type source)
Parameters
source
The source.
Returns