New to Telerik UI for WPFStart a free 30-day trial

Defines search logic on a fata member, represented by name and type.

Definition

Namespace:Telerik.Windows.Controls.GridView.SearchPanel

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class SearchDataMemberDescriptor

Inheritance: objectSearchDataMemberDescriptor

Properties

Gets or sets the name of the data member.

C#
public string DataMemberName { get; set; }

Gets or sets the type of the data member.

C#
public Type DataMemberType { get; set; }

Methods

Creates SearchDataMemberDescriptor from GridViewBoundColumnBase.

C#
public static SearchDataMemberDescriptor FromColumn(GridViewBoundColumnBase column)
Parameters:columnGridViewBoundColumnBaseReturns:

SearchDataMemberDescriptor

Creates SearchDataMemberDescriptor from ItemPropertyInfo.

C#
public static SearchDataMemberDescriptor FromItemPropertyInfo(ItemPropertyInfo propertyInfo)
Parameters:propertyInfoItemPropertyInfoReturns:

SearchDataMemberDescriptor