TypeExtensions
Class
TypeExtensions.
Definition
Namespace:Telerik.Windows.Controls.Data
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
C#
public static class TypeExtensions
Inheritance: objectTypeExtensions
Methods
Converts the type to a collection of ItemPropertyInfo objects.
C#
public static IEnumerable<ItemPropertyInfo> ToItemProperties(this Type source)
The type.
Returns:IEnumerable<ItemPropertyInfo>
Converts the type to a collection of ItemPropertyDefinition objects.
C#
public static IEnumerable<ItemPropertyDefinition> ToItemPropertyDefinitions(this Type source)
The type.
Returns: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.
C#
public static IList<ItemPropertyDefinition> ToOrderedAutoGenerateFilterItemPropertyDefinitions(this Type source)
The source.
Returns: