Class ItemPropertiesExtensions
Contains extension methods for item property classes.
Inheritance
Namespace: Telerik.Windows.Controls.Data.DataFilter
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public static class ItemPropertiesExtensions : Object
Methods
ToItemPropertyDefinitions(IEnumerable<ItemPropertyInfo>)
Converts a collection of ItemPropertyInfo objects to a collection of ItemPropertyDefinition objects.
Declaration
public static IEnumerable<ItemPropertyDefinition> ToItemPropertyDefinitions(this IEnumerable<ItemPropertyInfo> source)
Parameters
System.Collections.Generic.IEnumerable<System.ComponentModel.ItemPropertyInfo>
source
The source collection containing ItemPropertyInfo's. |
Returns
System.Collections.Generic.IEnumerable<ItemPropertyDefinition>
A collection of ItemPropertyDefinition objects. |
ToOrderedAutoGenerateFilterItemPropertyDefinitions(IEnumerable<ItemPropertyInfo>)
Takes a collection of ItemPropertyInfo objects, 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
public static IList<ItemPropertyDefinition> ToOrderedAutoGenerateFilterItemPropertyDefinitions(this IEnumerable<ItemPropertyInfo> source)
Parameters
System.Collections.Generic.IEnumerable<System.ComponentModel.ItemPropertyInfo>
source
The source. |
Returns
System.Collections.Generic.IList<ItemPropertyDefinition>
|