alexa
Syncfusion
menu Syncfusion

MAUI

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

    Show / Hide Table of Contents

    Class TreeGridCell

    Represents a cell in the SfTreeGrid control.

    Inheritance
    object
    SfView
    DataGridCellBase
    TreeGridCell
    TreeGridExpanderCell
    TreeGridHeaderCell
    TreeGridStackedHeaderCell
    Implements
    IDrawableLayout
    IDrawable
    IAbsoluteLayout
    ILayout
    IView
    IElement
    ITransform
    IContainer
    IList<IView>
    ICollection<IView>
    IEnumerable<IView>
    IEnumerable
    ISafeAreaView
    IPadding
    ICrossPlatformLayout
    IVisualTreeElement
    Inherited Members
    SfView.ArrangeContent(Rect)
    SfView.ArrangeOverride(Rect)
    SfView.Children
    SfView.ClipToBounds
    SfView.GetSemanticsNodesCore(double, double)
    SfView.MeasureContent(double, double)
    SfView.MeasureOverride(double, double)
    SfView.OnBindingContextChanged()
    SfView.OnHandlerChanged()
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public class TreeGridCell : DataGridCellBase, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement

    Constructors

    TreeGridCell()

    Declaration
    public TreeGridCell()

    Fields

    BackgroundProperty

    Identifies the Background Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty BackgroundProperty
    Field Value
    Type
    BindableProperty

    FontAttributesProperty

    Identifies the FontAttributes Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty FontAttributesProperty
    Field Value
    Type
    BindableProperty

    FontFamilyProperty

    Identifies the FontFamily Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty FontFamilyProperty
    Field Value
    Type
    BindableProperty

    FontSizeProperty

    Identifies the FontSize Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty FontSizeProperty
    Field Value
    Type
    BindableProperty

    PaddingProperty

    Identifes the CellPadding Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty PaddingProperty
    Field Value
    Type
    BindableProperty

    TextAlignmentProperty

    Identifies the TextAlginment Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty TextAlignmentProperty
    Field Value
    Type
    BindableProperty

    TextColorProperty

    Identifies the TextColor Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty TextColorProperty
    Field Value
    Type
    BindableProperty

    Properties

    Background

    Gets or sets the background of the cell.

    Declaration
    public Brush Background { get; set; }
    Property Value
    Type
    Brush

    CellValue

    Gets or sets the cell value.

    Declaration
    public object? CellValue { get; }
    Property Value
    Type
    object

    ColumnIndex

    Gets or sets the column index of the cell.

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

    DataColumn

    Gets or sets the TreeGridDataColumnBase associated with the cell.

    Declaration
    public TreeGridDataColumnBase? DataColumn { get; set; }
    Property Value
    Type
    TreeGridDataColumnBase

    FontAttributes

    Gets or sets the font attributes of the cell.

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

    FontAutoScalingEnabled

    Gets or sets a value indicating whether font auto-scaling is enabled.

    Declaration
    public bool FontAutoScalingEnabled { get; set; }
    Property Value
    Type
    bool

    FontFamily

    Gets or sets the font family of the cell.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type
    string

    FontSize

    Gets or sets the font size of the cell.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type
    double

    Padding

    Gets or sets the padding of the cell.

    Declaration
    public Thickness Padding { get; set; }
    Property Value
    Type
    Thickness

    RowIndex

    Gets or sets the row index of the cell.

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

    TextAlignment

    Gets or sets the text alignment of the cell.

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

    TextColor

    Gets or sets the text color of the cell.

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type
    Color

    Methods

    OnDraw(ICanvas, RectF)

    Declaration
    protected override void OnDraw(ICanvas canvas, RectF dirtyRect)
    Parameters
    Type Name Description
    ICanvas canvas
    RectF dirtyRect
    Overrides
    SfView.OnDraw(ICanvas, RectF)

    Implements

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