menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColumnModel - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColumnModel

    Represents the model settings for a column in the Kanban component.

    Inheritance
    System.Object
    ColumnModel
    Namespace: Syncfusion.Blazor.Kanban
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ColumnModel : Object
    Remarks

    This class defines various properties to configure the behavior and appearance of columns in a Kanban board.

    Constructors

    ColumnModel()

    Declaration
    public ColumnModel()

    Properties

    AllowAdding

    Gets or sets a value indicating whether adding new cards is allowed in the column.

    Declaration
    public bool AllowAdding { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean indicating if the add button is enabled for the column.

    Remarks

    Enable this feature to allow users to add new cards directly within the column.

    AllowDrag

    Gets or sets a value indicating whether cards can be dragged from the column.

    Declaration
    public bool AllowDrag { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean indicating the column's drag ability; default is true.

    Remarks

    Allow or restrict the movement of cards from this column to others.

    AllowDrop

    Gets or sets a value indicating whether the column can accept dropped items.

    Declaration
    public bool AllowDrop { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean indicating the column's drop ability; default is true.

    Remarks

    Enable or disable the column's capacity to accept cards dragged from other columns.

    AllowToggle

    Gets or sets a value indicating whether the toggle column is enabled.

    Declaration
    public bool AllowToggle { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value indicating the enablement of column toggling.

    Remarks

    Set this property to true to allow toggling between the expanded and collapsed states of the column.

    HeaderText

    Gets or sets the title of the column header.

    Declaration
    public string HeaderText { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the text displayed in the column header.

    Remarks

    Customize the header title to reflect the nature of the cards within the column.

    Index

    Gets or sets the position of the column in the Kanban board.

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    System.Int32

    An integer representing the ordinal index of the column.

    Remarks

    Determine the column's sequence within the board by setting its index.

    IsExpanded

    Gets or sets a value indicating whether the column is in an expanded state.

    Declaration
    public bool IsExpanded { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean indicating if the column is expanded; default is true.

    Remarks

    Set this property to false to initialize the column in a collapsed state.

    KeyField

    Gets or sets the list of key fields associated with the column.

    Declaration
    public List<string> KeyField { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>

    A list of strings representing the key fields for the column.

    Remarks

    Key fields are used to identify which data items should belong to this column.

    MaxCount

    Gets or sets the maximum number of cards allowed in the column.

    Declaration
    public int MaxCount { get; set; }
    Property Value
    Type Description
    System.Int32

    An integer specifying the maximum card count.

    Remarks

    Limit the number of cards in a column to enforce board organization and manageability.

    MinCount

    Gets or sets the minimum number of cards required in the column.

    Declaration
    public int MinCount { get; set; }
    Property Value
    Type Description
    System.Int32

    An integer specifying the minimum card count.

    Remarks

    Enforce a minimum card presence in the column to ensure board completeness.

    ShowItemCount

    Gets or sets a value indicating whether the card count is displayed in the column.

    Declaration
    public bool ShowItemCount { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value indicating the visibility of the item count; default is true.

    Remarks

    Display the number of cards present in the column for quick reference.

    TransitionColumns

    Gets or sets the list of columns to which cards can transition from the current column.

    Declaration
    public List<string> TransitionColumns { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>

    A list of strings representing transitionable column identifiers.

    Remarks

    Specify which columns can accept cards from this column to manage transitions.

    Visible

    Gets or sets a value indicating whether the column is visible.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean indicating the visibility of the column; default is true.

    Remarks

    Configure the column's visibility based on user preferences or board requirements.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved