alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class TreeGridHelper

    Provides helper methods for the SfTreeGrid control.

    Inheritance
    System.Object
    TreeGridHelper
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public static class TreeGridHelper : Object

    Methods

    GetCellValue(SfTreeGrid, Object, String)

    Gets the cell value for the specified record data and column name in the SfTreeGrid.

    Declaration
    public static object GetCellValue(this SfTreeGrid treeGrid, object recordData, string columnName)
    Parameters
    Type Name Description
    SfTreeGrid treeGrid
    System.Object recordData
    System.String columnName
    Returns
    Type
    System.Object

    PointToRowColumnIndex(SfTreeGrid, Point, Boolean)

    Gets the row column index of the specified point in the given SfTreeGrid.

    Declaration
    public static RowColumnIndex PointToRowColumnIndex(this SfTreeGrid treeGrid, Point point, bool allowOutsideLines = false)
    Parameters
    Type Name Description
    SfTreeGrid treeGrid

    The SfTreeGrid in which the RowColumnIndex of the given Microsoft.Maui.Graphics.Point is to be obtained.

    Microsoft.Maui.Graphics.Point point

    The Microsoft.Maui.Graphics.Point in the SfTreeGrid whose RowColumnIndex is to be obtained.

    System.Boolean allowOutsideLines

    Need to pass allowOutSideLines as true, to return row column index while reordering the columns.

    Returns
    Type Description
    RowColumnIndex

    The row column index corresponding to the given point.

    Refresh(SfTreeGrid)

    Refreshes the SfTreeGrid control, updating its view and visible columns.

    Declaration
    public static void Refresh(this SfTreeGrid treeGrid)
    Parameters
    Type Name Description
    SfTreeGrid treeGrid

    RefreshColumns(SfTreeGrid)

    Refreshes the columns of the SfTreeGrid control, updating their visibility and layout.

    Declaration
    public static void RefreshColumns(this SfTreeGrid treeGrid)
    Parameters
    Type Name Description
    SfTreeGrid treeGrid

    RowColumnIndexToPoint(SfTreeGrid, RowColumnIndex)

    Gets the point for the specified row column index in the given SfTreeGrid.

    Declaration
    public static Point RowColumnIndexToPoint(this SfTreeGrid treeGrid, RowColumnIndex rowColumnIndex)
    Parameters
    Type Name Description
    SfTreeGrid treeGrid
    RowColumnIndex rowColumnIndex
    Returns
    Type Description
    Microsoft.Maui.Graphics.Point

    The point corresponding to the given row column index.

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