Method WithMemberPath
WithMemberPath<T>(T, string)
Sets the filter member path and sort member path of the column to the specified value.
public static T WithMemberPath<T>(this T column, string filterMemberPath) where T : GridViewBoundColumnBase
Parameters
columnTThe column.
filterMemberPathstringThe filter member path.
Returns
- T
 The column with the filter member path and sort member path set.
Type Parameters
TThe type of the column.
WithMemberPath<T>(GridViewBoundColumnBase, Expression<Func<T, object>>)
Sets the filter member path and sort member path of the column based on the specified filter member path expression.
public static GridViewBoundColumnBase WithMemberPath<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 filter member path and sort member path set.
Type Parameters
TThe type of the column.