Method WithSortMemberPath
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
columnGridViewBoundColumnBaseThe column.
filterMemberPathExpressionExpression<Func<T, object>>The filter member path expression.
Returns
- GridViewBoundColumnBase
 The column with the sort member path set.
Type Parameters
TThe 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
columnTThe column.
filterMemberPathstringThe filter member path.
Returns
- T
 The column with the sort member path set.
Type Parameters
TThe type of the column.