alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class KanbanSwimlaneSettings

    Defines the swimlane settings for the Kanban board, including key field, text field, template, drag-and-drop settings, visibility of empty rows, item count display, and more.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    SfDataBoundComponent
    KanbanSwimlaneSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    SfDataBoundComponent.SetDataManager<T>(object)
    Namespace: Syncfusion.Blazor.Kanban
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class KanbanSwimlaneSettings : SfDataBoundComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    Use these settings to configure the appearance and behavior of swimlane sections on the Kanban board, enabling a customized and efficient workflow management experience.

    Constructors

    KanbanSwimlaneSettings()

    Declaration
    public KanbanSwimlaneSettings()

    Properties

    AllowDragAndDrop

    Gets or sets a value indicating whether drag and drop actions are enabled for swimlane cards.

    Declaration
    [Parameter]
    public bool AllowDragAndDrop { get; set; }
    Property Value
    Type Description
    bool

    true if drag and drop is enabled; otherwise, false.

    Remarks

    This property controls the ability to rearrange cards between swimlanes via drag and drop.

    ChildContent

    Gets or sets the child content within the swimlane settings.

    Declaration
    [Parameter]
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    RenderFragment

    A RenderFragment containing custom content to render in the swimlane section.

    Remarks

    This property can be used to include additional elements or decorations within the swimlane settings.

    EnableFrozenRows

    Gets or sets a value indicating whether to freeze swimlane rows.

    Declaration
    [Parameter]
    public bool EnableFrozenRows { get; set; }
    Property Value
    Type Description
    bool

    true if swimlane rows are frozen; otherwise, false.

    Remarks

    This feature locks swimlane rows in place, enhancing the navigation and handling of items.

    KeyField

    Gets or sets the key field used for swimlane identification.

    Declaration
    [Parameter]
    public string KeyField { get; set; }
    Property Value
    Type Description
    string

    A string that represents the identifying key for each swimlane.

    Remarks

    This property determines which data field is used to uniquely identify and categorize each swimlane.

    ShowEmptyRow

    Gets or sets a value indicating whether to show or hide empty swimlanes.

    Declaration
    [Parameter]
    public bool ShowEmptyRow { get; set; }
    Property Value
    Type Description
    bool

    true if empty swimlanes are visible; otherwise, false.

    Remarks

    By setting this property, users can control the visibility of swimlanes that have no content.

    ShowItemCount

    Gets or sets a value indicating whether the item count is displayed in the swimlanes.

    Declaration
    [Parameter]
    public bool ShowItemCount { get; set; }
    Property Value
    Type Description
    bool

    true if the item count is displayed; otherwise, false. The default is true.

    Remarks

    This property allows displaying the number of cards in each swimlane, assisting in resource management.

    SortDirection

    Gets or sets the direction for sorting swimlane resources.

    Declaration
    [Parameter]
    public SortDirection SortDirection { get; set; }
    Property Value
    Type Description
    SortDirection

    A SortDirection value indicating the sort order, either Ascending or Descending.

    Remarks

    Set this property to define the sort order of swimlane resources for better organization.

    Template

    Gets or sets the template for swimlane rows.

    Declaration
    [Parameter]
    public RenderFragment<SwimlaneSettingsModel> Template { get; set; }
    Property Value
    Type Description
    RenderFragment<SwimlaneSettingsModel>

    A RenderFragment<TValue> that defines a custom layout for swimlane rows.

    Remarks

    Use this property to customize the appearance and structure of swimlane rows within the Kanban board.

    TextField

    Gets or sets the text field displayed in the swimlane header.

    Declaration
    [Parameter]
    public string TextField { get; set; }
    Property Value
    Type Description
    string

    A string representing the text shown above swimlane sections.

    Remarks

    This property sets the header text for the swimlanes, providing context for their content.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    OnAfterRenderAsync(bool)

    Method invoked after each time the component has been rendered.

    Declaration
    protected override Task OnAfterRenderAsync(bool firstRender)
    Parameters
    Type Name Description
    bool firstRender

    Set to true if this is the first time OnAfterRender(Boolean) has been invoked.

    Returns
    Type Description
    Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Overrides
    SfDataBoundComponent.OnAfterRenderAsync(bool)

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Overrides
    SfDataBoundComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Method invoked when the component has received parameters from its parent.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Overrides
    SfDataBoundComponent.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved