Title here
Summary here
This attribute can be used in the Sort to define the columns by which the data will be sorted.
[AttributeUsage(AttributeTargets.Property)]
public sealed class SortColumn : Attribute public SortColumn() public SortColumn(int priority)| Type | Name | Description |
|---|---|---|
| int | priority |
public SortColumn(int priority, SortOrder sortOrder)| Type | Name | Description |
|---|---|---|
| int | priority | |
| SortOrder | sortOrder |
The priority of the column in the sorting - the smaller the number, the higher the priority.
public int Priority { get; set; }| Type | Description |
|---|---|
| int |
Property name by which data will be sorted - also assign a priority value to set up the order of the columns, and a sort order (ascending or descending).
public string PropertyName { get; set; }| Type | Description |
|---|---|
| string |
public SortOrder SortOrder { get; set; }| Type | Description |
|---|---|
| SortOrder |