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
column
TThe column.
filterMemberPath
stringThe filter member path.
Returns
- T
The column with the filter member path and sort member path set.
Type Parameters
T
The 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
column
GridViewBoundColumnBaseThe column.
filterMemberPathExpression
Expression<Func<T, object>>The filter member path expression.
Returns
- GridViewBoundColumnBase
The column with the filter member path and sort member path set.
Type Parameters
T
The type of the column.