SortableAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Indicates if sorting is enabled for this property
[AttributeUsage(AttributeTargets.All)]
public class SortableAttribute : Attribute
| parameter | description |
|---|---|
| value | if set to true (default) sorting is enabled. |
Public Members
| name | description |
|---|---|
| SortableAttribute(…) | Indicates if sorting is enabled for this property |
| Value { get; } | Gets a value indicating whether this SortableAttribute is enabled. |
Remarks
Initializes a new instance of the SortableAttribute class.
See Also
- Source: SortableAttribute.cs