SortOrderAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Sets the column as sorted by default, and its index among sorted columns. Negative values means descending sort. Applies only to columns.

public class SortOrderAttribute : Attribute

Public Members

name description
SortOrderAttribute(…) Initializes a new instance of the SortOrderAttribute class. (2 constructors)
Descending { get; } Gets a value indicating whether sort is descending.
SortOrder { get; } Gets the sort order.

See Also