alexa
Syncfusion
menu Syncfusion

MAUI

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

    Show / Hide Table of Contents

    Class TreeGridDataRowBase

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

    Inheritance
    object
    TreeGridDataRowBase
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public abstract class TreeGridDataRowBase

    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
    bool

    IsSelectedRow

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

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

    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
    int

    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
    object

    RowIndex

    Gets or sets the row index of the data row.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type
    int

    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

    GetColumnSize(int, bool)

    Gets the size of the column at a given index.

    Declaration
    protected virtual double GetColumnSize(int index, bool lineNull)
    Parameters
    Type Name Description
    int index
    bool lineNull
    Returns
    Type
    double

    GetColumnVisibleLineInfo(int)

    Gets the visible line information for the specified column index.

    Declaration
    protected VisibleLineInfo? GetColumnVisibleLineInfo(int index)
    Parameters
    Type Name Description
    int 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(int)

    Gets the visible line information for the specified row index.

    Declaration
    protected VisibleLineInfo? GetRowVisibleLineInfo(int index)
    Parameters
    Type Name Description
    int 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()
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved