Table of Contents

Method WithSortMemberPath

Namespace
Innova.Prism.Telerik.Controls
Assembly
Innova.Prism.Telerik.dll

WithSortMemberPath<T>(GridViewBoundColumnBase, Expression<Func<T, object>>)

Sets the sort member path of the column based on the specified filter member path expression.

public static GridViewBoundColumnBase WithSortMemberPath<T>(this GridViewBoundColumnBase column, Expression<Func<T, object>> filterMemberPathExpression)

Parameters

column GridViewBoundColumnBase

The column.

filterMemberPathExpression Expression<Func<T, object>>

The filter member path expression.

Returns

GridViewBoundColumnBase

The column with the sort member path set.

Type Parameters

T

The type of the column.

WithSortMemberPath<T>(T, string)

Sets the sort member path of the column to the specified filter member path.

public static T WithSortMemberPath<T>(this T column, string filterMemberPath) where T : GridViewBoundColumnBase

Parameters

column T

The column.

filterMemberPath string

The filter member path.

Returns

T

The column with the sort member path set.

Type Parameters

T

The type of the column.