Class GanttSortDescriptor
Configures sort descriptor.
Inherited Members
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class GanttSortDescriptor : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
GanttSortDescriptor()
Declaration
public GanttSortDescriptor()
Properties
Direction
Defines the direction of the sort column.
Declaration
[Parameter]
public SortDirection Direction { get; set; }
Property Value
| Type | Description |
|---|---|
| SortDirection | The default value of this property is SortDirection.Ascending. |
Remarks
This property specifies the direction in which the sort column will be sorted. By default, this property is set to SortDirection.Ascending.
Field
Defines the field name of the sort column.
Declaration
[Parameter]
public string Field { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The default value of this property is an empty string. |
Remarks
This property specifies the name of the field that will be used for sorting. By default, this property is set to an empty string.
Methods
Dispose(bool)
Dispose unmanaged resources in the Syncfusion Blazor component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | Boolean value to dispose the object. |
Overrides
OnInitializedAsync()
Triggers during the initial rendering of the component.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
Overrides
OnParametersSetAsync()
Called by the framework when component parameters have been set. Executes logic that depends on the updated parameter values.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type |
|---|
| Task |