Class KanbanSortSettings
Represents the settings used to define the sorting behavior of a Kanban board, including properties like direction, sort field, and sort order.
Inherited Members
Namespace: Syncfusion.Blazor.Kanban
Assembly: Syncfusion.Blazor.dll
Syntax
public class KanbanSortSettings : SfDataBoundComponent
Remarks
This configuration allows you to customize how the Kanban cards are sorted dynamically based on various criteria such as direction and order.
Constructors
KanbanSortSettings()
Declaration
public KanbanSortSettings()
Properties
ChildContent
Gets or sets the child content of the component.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment | A Microsoft.AspNetCore.Components.RenderFragment representing the child content. |
Remarks
Use this property to specify custom rendering within the Kanban sort settings.
Direction
Gets or sets the direction in which to sort the cards.
Declaration
public SortDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
SortDirection | A SortDirection indicating the sort direction, either Ascending or Descending. |
Remarks
This property determines the direction of sorting for Kanban cards.
Field
Gets or sets the field used for sorting the cards.
Declaration
public string Field { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String that specifies the name of the sort field. |
Remarks
This property is crucial for setting the basis on which the Kanban cards are sorted.
SortBy
Gets or sets the criterion used for sorting the cards.
Declaration
public SortOrderBy SortBy { get; set; }
Property Value
Type | Description |
---|---|
SortOrderBy | A SortOrderBy enumeration specifying the order type, such as DataSourceOrder, Index, or Custom. |
Remarks
This property helps define how to sort the cards, allowing for various types of ordering.
Methods
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |