Class SortColumn
Defines the Sort Column.
Inheritance
System.Object
SortColumn
Implements
System.IEquatable<SortColumn>
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class SortColumn : ValueType, IEquatable<SortColumn>
Properties
Direction
Specifies the sort direction.
Declaration
public SortDirection Direction { get; set; }
Property Value
Type |
---|
SortDirection |
Field
Specifies the field of the column to be sorted.
Declaration
public string Field { get; set; }
Property Value
Type |
---|
System.String |
Methods
Equals(SortColumn)
Compares the specified instance and the current instance of RemoteOptions for value equality.
Declaration
public bool Equals(SortColumn other)
Parameters
Type | Name | Description |
---|---|---|
SortColumn | other | The instance to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true. |
Equals(Object)
Compares the specified instance and the current instance of RemoteOptions for value equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The instance to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true. |
GetHashCode()
Returns the hash code.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | int. |
Operators
Equality(SortColumn, SortColumn)
Handles equal
Declaration
public static bool operator ==(SortColumn point1, SortColumn point2)
Parameters
Type | Name | Description |
---|---|---|
SortColumn | point1 | argument one |
SortColumn | point2 | argument two |
Returns
Type | Description |
---|---|
System.Boolean | bool |
Inequality(SortColumn, SortColumn)
Handles unequal
Declaration
public static bool operator !=(SortColumn point1, SortColumn point2)
Parameters
Type | Name | Description |
---|---|---|
SortColumn | point1 | argument one |
SortColumn | point2 | argument two |
Returns
Type | Description |
---|---|
System.Boolean | bool |
Implements
System.IEquatable<>