SortOrderAttribute constructor (1 of 2)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Initializes a new instance of the SortOrderAttribute class.

public SortOrderAttribute(int sortOrder)
parameter description
sortOrder The sort order.

See Also


SortOrderAttribute constructor (2 of 2)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Initializes a new instance of the SortOrderAttribute class.

public SortOrderAttribute(int sortOrder, bool descending)
parameter description
sortOrder The sort order.
descending if set to true descending sort.

See Also