alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class TreeColumn

    The tree column with appearance and mapping information for the cells in the column to items in the tree nodes.

    Inheritance
    System.Object
    TreeColumn
    Namespace: Syncfusion.Windows.Controls.VirtualTreeView
    Assembly: Syncfusion.GridCommon.WPF.dll
    Syntax
    public class TreeColumn : Object

    Constructors

    TreeColumn()

    Declaration
    public TreeColumn()

    Properties

    CellStyle

    Gets or sets the default style for cells.

    Declaration
    public TreeStyleInfo CellStyle { get; set; }
    Property Value
    Type Description
    TreeStyleInfo

    The cell style.

    Columns

    Gets the columns collection this column belongs to.

    Declaration
    public TreeColumns Columns { get; }
    Property Value
    Type Description
    TreeColumns

    The columns.

    HeaderStyle

    Gets or sets the header style.

    Declaration
    public TreeStyleInfo HeaderStyle { get; set; }
    Property Value
    Type Description
    TreeStyleInfo

    The header style.

    IsHidden

    Gets or sets a value indicating whether this column is hidden.

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

    true if this column is hidden; otherwise, false.

    MappingName

    Gets or sets the mapping name. This should be the name of a property in the underlying data the TreeNodes represent.

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

    The mapping name.

    Name

    Gets or sets the name.

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

    The name.

    TreeModel

    Gets the tree model.

    Declaration
    public TreeModel TreeModel { get; }
    Property Value
    Type Description
    TreeModel

    The tree model.

    Width

    Gets or sets the width.

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    The width.

    Methods

    GetWidth()

    Gets the width.

    Declaration
    public double GetWidth()
    Returns
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved