alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class TreeGridExpanderCell

    Represents a cell that displays an expander icon in the SfTreeGrid control.

    Inheritance
    System.Object
    SfView
    Syncfusion.Maui.Core.Internals.DataGridCellBase
    TreeGridCell
    TreeGridExpanderCell
    Implements
    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<Microsoft.Maui.IView>
    System.Collections.Generic.ICollection<Microsoft.Maui.IView>
    System.Collections.Generic.IEnumerable<Microsoft.Maui.IView>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    Inherited Members
    SfView.ArrangeOverride(Rect)
    SfView.Children
    SfView.ClipToBounds
    SfView.GetSemanticsNodesCore(Double, Double)
    SfView.IDrawableLayout.DrawingOrder
    SfView.IDrawableLayout.InvalidateDrawable()
    SfView.MeasureOverride(Double, Double)
    SfView.OnBindingContextChanged()
    SfView.OnHandlerChanged()
    TreeGridCell.Background
    TreeGridCell.BackgroundProperty
    TreeGridCell.CellValue
    TreeGridCell.ColumnIndex
    TreeGridCell.DataColumn
    TreeGridCell.FontAttributes
    TreeGridCell.FontAttributesProperty
    TreeGridCell.FontAutoScalingEnabled
    TreeGridCell.FontFamily
    TreeGridCell.FontFamilyProperty
    TreeGridCell.FontSize
    TreeGridCell.FontSizeProperty
    TreeGridCell.OnDraw(ICanvas, RectF)
    TreeGridCell.Padding
    TreeGridCell.PaddingProperty
    TreeGridCell.RowIndex
    TreeGridCell.TextAlignment
    TreeGridCell.TextAlignmentProperty
    TreeGridCell.TextColor
    TreeGridCell.TextColorProperty
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public class TreeGridExpanderCell : TreeGridCell, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement, ISemanticsProvider, ITextElement, ITapGestureListener, IDoubleTapGestureListener, IGestureListener

    Constructors

    TreeGridExpanderCell()

    Initializes a new instance of the TreeGridExpanderCell class.

    Declaration
    public TreeGridExpanderCell()

    TreeGridExpanderCell(SfTreeGrid)

    Initializes a new instance of the TreeGridExpanderCell class with the specified SfTreeGrid.

    Declaration
    public TreeGridExpanderCell(SfTreeGrid treeGrid)
    Parameters
    Type Name Description
    SfTreeGrid treeGrid

    Methods

    ArrangeContent(Rect)

    Arranges the content of the cell, including the expander icon and the main content, based on the provided bounds.

    Declaration
    protected override Size ArrangeContent(Rect bounds)
    Parameters
    Type Name Description
    Microsoft.Maui.Graphics.Rect bounds
    Returns
    Type
    Microsoft.Maui.Graphics.Size
    Overrides
    SfView.ArrangeContent(Rect)

    MeasureContent(Double, Double)

    Measures the size of the content within the expander cell, taking into account the expander icon and indentation based on the row's level in the tree structure.

    Declaration
    protected override Size MeasureContent(double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    System.Double widthConstraint
    System.Double heightConstraint
    Returns
    Type
    Microsoft.Maui.Graphics.Size
    Overrides
    SfView.MeasureContent(Double, Double)

    Implements

    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved