alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class TreeGridDataRowBase

    Represents the base class for a data row in the SfTreeGrid control.

    Inheritance
    System.Object
    TreeGridDataRowBase
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public abstract class TreeGridDataRowBase : Object

    Constructors

    TreeGridDataRowBase()

    Declaration
    protected TreeGridDataRowBase()

    Properties

    HasChildNodes

    Gets or sets a value indicating whether the data row has child nodes.

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

    IsSelectedRow

    Gets or sets a value indicating whether the DataRow is selected row.

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

    True if the row element is selected, otherwise, false. The default value is false.

    Level

    Gets or sets the hierarchical level of the row.

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

    Node

    Gets or sets the TreeNode associated with the row.

    Declaration
    public TreeNode Node { get; set; }
    Property Value
    Type
    TreeNode

    RowData

    Gets or sets the data object associated with the row.

    Declaration
    public object RowData { get; set; }
    Property Value
    Type
    System.Object

    RowIndex

    Gets or sets the row index of the data row.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type
    System.Int32

    RowRegion

    Gets or sets the region to which the row belongs.

    Declaration
    public RowRegion RowRegion { get; set; }
    Property Value
    Type
    RowRegion

    RowType

    Gets or sets the type of the row.

    Declaration
    public TreeRowType RowType { get; }
    Property Value
    Type
    TreeRowType

    Methods

    GetColumnVisibleLineInfo(Int32)

    Gets the visible line information for the specified column index.

    Declaration
    protected VisibleLineInfo GetColumnVisibleLineInfo(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The column index.

    Returns
    Type Description
    VisibleLineInfo

    A VisibleLineInfo object that contains information about the visible column; otherwise, null if the column is not visible.

    GetRowVisibleLineInfo(Int32)

    Gets the visible line information for the specified row index.

    Declaration
    protected VisibleLineInfo GetRowVisibleLineInfo(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The row index.

    Returns
    Type Description
    VisibleLineInfo

    A VisibleLineInfo object that contains information about the visible row; otherwise, null if the row is not visible.

    OnCreateRowElement()

    Creates and returns the visual row element associated with this data row.

    Declaration
    protected abstract TreeGridRow OnCreateRowElement()
    Returns
    Type Description
    TreeGridRow

    A TreeGridRow instance that represents the visual container for the row; otherwise, null.

    OnGenerateVisibleColumns(VisibleLinesCollection)

    Generates the visible columns for the row based on the specified visible column lines.

    Declaration
    protected abstract void OnGenerateVisibleColumns(VisibleLinesCollection visibleColumnLines)
    Parameters
    Type Name Description
    VisibleLinesCollection visibleColumnLines

    The collection of visible column lines used to create and arrange visible columns.

    OnRowIndexChanged()

    Occurs when the RowIndex value changes. Updates the row index of visible columns and refreshes row styles.

    Declaration
    protected virtual void OnRowIndexChanged()
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved