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

Contains extension methods for item property classes.

Definition

Namespace:Telerik.Windows.Controls.Data.DataFilter

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

C#
public static class ItemPropertiesExtensions

Inheritance: objectItemPropertiesExtensions

Methods

Converts a collection of ItemPropertyInfo objects to a collection of ItemPropertyDefinition objects.

C#
public static IEnumerable<ItemPropertyDefinition> ToItemPropertyDefinitions(this IEnumerable<ItemPropertyInfo> source)
Parameters:sourceIEnumerable<ItemPropertyInfo>

The source collection containing ItemPropertyInfo's.

Returns:

IEnumerable<ItemPropertyDefinition>

A collection of ItemPropertyDefinition objects.

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.

C#
public static IList<ItemPropertyDefinition> ToOrderedAutoGenerateFilterItemPropertyDefinitions(this IEnumerable<ItemPropertyInfo> source)
Parameters:sourceIEnumerable<ItemPropertyInfo>

The source.

Returns:

IList<ItemPropertyDefinition>