menu

Blazor

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

    Show / Hide Table of Contents

    Class MultiColumnComboboxColumn

    Represents a single column within a MultiColumnCombobox component. Defines the properties and behavior of a column, such as its header text, data field, and display format.

    Inheritance
    System.Object
    MultiColumnComboboxColumn
    Namespace: Syncfusion.Blazor.MultiColumnComboBox
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MultiColumnComboboxColumn : OwningComponentBase

    Constructors

    MultiColumnComboboxColumn()

    Declaration
    public MultiColumnComboboxColumn()

    Properties

    CustomAttributes

    Allows customization of the CSS styles and attributes of the content cells for this column.

    Declaration
    public IDictionary<string, object> CustomAttributes { get; set; }
    Property Value
    Type
    System.Collections.Generic.IDictionary<System.String, System.Object>
    Remarks

    This property accepts a dictionary of attribute names and their corresponding values.

    DisplayAsCheckBox

    Gets or sets a value indicating whether the column value should be displayed as a checkbox.

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

    The default value is false.

    Remarks

    When set to true, the column value is rendered as a checkbox instead of a boolean value.

    Field

    Defines the field name of the column, which is mapped to the corresponding field in the DataSource.

    Declaration
    public string Field { get; set; }
    Property Value
    Type
    System.String
    Remarks

    The bound columns can be used for various operations such as sorting, filtering, and grouping. If the field name contains a dot (.), it is considered complex binding, which is typically used for accessing nested properties.

    Format

    Defines the format of the column's displayed value without affecting the original data.

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

    The default value is String.Empty.

    Remarks

    The format can be a standard or custom format string.

    Header

    Defines the header text of the column, which is displayed in the column header.

    Declaration
    public string Header { get; set; }
    Property Value
    Type
    System.String
    Remarks

    If the header text is not defined, the value of the Field property will be used as the header text.

    HeaderTemplate

    Defines the header template that renders a customized element in the header cell of the column.

    Declaration
    public RenderFragment<object> HeaderTemplate { get; set; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.RenderFragment<System.Object>
    Remarks

    This template allows you to customize the content of the column header.

    Parent

    Specifies the base parent of the component.

    Declaration
    protected MultiColumnComboboxColumns Parent { get; set; }
    Property Value
    Type
    MultiColumnComboboxColumns

    Template

    Defines the column template that renders a customized element in each cell of the column.

    Declaration
    public RenderFragment<object> Template { get; set; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.RenderFragment<System.Object>
    Remarks

    The parameters passed to the templates can be accessed using the implicit parameter named context. The context is of type TValue.

    TextAlign

    Defines the alignment of the text in both the header and content cells of the column.

    Declaration
    public TextAlign TextAlign { get; set; }
    Property Value
    Type
    TextAlign
    Remarks

    The possible values are:

    • LeftText is aligned to the left.
    • RightText is aligned to the right.
    • CenterText is centered.
    • JustifyText is justified.

    TextOverflowMode

    Gets or sets a value that defines how the text content is clipped when it overflows in the SfMultiColumnComboBox<TValue, TItem>.

    Declaration
    public TextOverflowMode TextOverflowMode { get; set; }
    Property Value
    Type Description
    TextOverflowMode

    A TextOverflowMode value that specifies the clipping behavior. The default value is ClipMode.Ellipsis.

    Remarks

    The TextOverflowMode property controls how text is truncated when it overflows the available space. The following options are available:

    Width

    Defines the width of the column in pixels or as a percentage.

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

    The default value is String.Empty, meaning that the column will have an automatic width based on its content.

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