Struct SortColumn
Defines the Sort Column.
Implements
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public struct SortColumn : IEquatable<SortColumn>
Properties
Direction
Specifies the sort direction.
Declaration
public SortDirection Direction { readonly get; set; }
Property Value
| Type |
|---|
| SortDirection |
Field
Specifies the field of the column to be sorted.
Declaration
public string Field { readonly get; set; }
Property Value
| Type |
|---|
| 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 |
|---|---|
| bool | 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 |
|---|---|---|
| object | obj | The instance to compare. |
Returns
| Type | Description |
|---|---|
| bool | true. |
Overrides
GetHashCode()
Returns the hash code.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | int. |
Overrides
Operators
operator ==(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 |
|---|---|
| bool | bool |
operator !=(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 |
|---|---|
| bool | bool |