alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class TreeGridStackedColumn

    Represents a column that is stacked across the specified child columns in it.

    Inheritance
    object
    TreeGridStackedColumn
    Implements
    IDisposable
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public class TreeGridStackedColumn : BindableObject, IDisposable

    Constructors

    TreeGridStackedColumn()

    Declaration
    public TreeGridStackedColumn()

    Fields

    ChildColumnsProperty

    Identifies the ColumnMappingNames Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty ChildColumnsProperty
    Field Value
    Type
    BindableProperty
    Remarks

    The identifier for the ColumnMappingNames Microsoft.Maui.Controls.BindableProperty.

    MappingNameProperty

    Identifies the MappingName Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty MappingNameProperty
    Field Value
    Type
    BindableProperty
    Remarks

    The identifier for the MappingName Microsoft.Maui.Controls.BindableProperty.

    TemplateProperty

    Identifies the Template Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty TemplateProperty
    Field Value
    Type
    BindableProperty
    Remarks

    The identifier for the Template Microsoft.Maui.Controls.BindableProperty.

    TextProperty

    Identifies the Text Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty TextProperty
    Field Value
    Type
    BindableProperty
    Remarks

    The identifier for the Text Microsoft.Maui.Controls.BindableProperty.

    Properties

    ColumnMappingNames

    Gets or sets the names of the child columns that need to be stacked under the specified TreeGridStackedColumn.

    Declaration
    public string ColumnMappingNames { get; set; }
    Property Value
    Type
    string
    Remarks

    The list of MappingName should be given by separating with a comma (,). A child mapping name may also refer to the MappingName of a stacked column defined in the previous stacked header row to support hierarchical (nested) stacked headers.

    Examples
    <treegrid:TreeGridStackedColumn
       ColumnMappingNames = "EmployeeID,Name"
       Text="Employee Details" />
    ColumnMappingNames = "EmployeeID,Name",

    MappingName

    Gets or sets the unique mapping name for the TreeGridStackedColumn that can be used to identify the stacked column in the previous stacked header row's ColumnMappingNames to support hierarchical (nested) stacked headers.

    Declaration
    public string? MappingName { get; set; }
    Property Value
    Type
    string

    Template

    Declaration
    public DataTemplate Template { get; set; }
    Property Value
    Type
    DataTemplate

    Text

    Gets or sets the display text of the TreeGridStackedColumn.

    Declaration
    public string? Text { get; set; }
    Property Value
    Type
    string
    Examples
       <treegrid:TreeGridStackedHeaderRow.Columns>
                <treegrid:TreeGridStackedColumn
                     ColumnMappingNames = "EmployeeID,Name"
                  Text="Employee Details" />
    </treegrid:TreeGridStackedHeaderRow.Columns>
     stackedHeaderRow.Columns.Add(new TreeGridStackedColumn()
    {
        ColumnMappingNames = "EmployeeID,Name",
        Text = "Employee Details",
    });

    Methods

    Dispose()

    Performs cleanup before the instance is released from memory.

    Declaration
    public void Dispose()

    Dispose(bool)

    Releases the unmanaged resources used by the component and optionally releases the managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    if true - release both managed and unmanaged resources; if false - release only unmanaged resources.

    Implements

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