Class TreeGridRow
Represents a row in the SfTreeGrid control.
Implements
IDrawable
IAbsoluteLayout
ILayout
IView
IElement
ITransform
IContainer
IList<IView>
ICollection<IView>
IEnumerable<IView>
ISafeAreaView
IPadding
ICrossPlatformLayout
IVisualTreeElement
Inherited Members
Namespace: Syncfusion.Maui.TreeGrid
Assembly: Syncfusion.Maui.TreeGrid.dll
Syntax
public class TreeGridRow : SfView, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement
Constructors
TreeGridRow()
Initializes a new instance of the TreeGridRow class.
Declaration
public TreeGridRow()
Fields
BackgroundProperty
Identifies the Background Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
Properties
Background
Gets or sets the background of the TreeGridRow.
Declaration
public Brush Background { get; set; }
Property Value
| Type |
|---|
| Brush |
DataRow
Gets or sets the TreeGridDataRowBase associated with the row.
Declaration
public TreeGridDataRowBase? DataRow { get; set; }
Property Value
| Type |
|---|
| TreeGridDataRowBase |
RowIndex
Gets or sets the row index of the TreeGridView.
Declaration
public int RowIndex { get; }
Property Value
| Type |
|---|
| int |
TreeGrid
Gets the reference of the SfTreeGrid control.
Declaration
public SfTreeGrid? TreeGrid { get; }
Property Value
| Type | Description |
|---|---|
| SfTreeGrid | The reference of the SfTreeGrid control. |
Methods
ArrangeContent(Rect)
Arranges the content of the TreeGridRow within the specified bounds.
Declaration
protected override Size ArrangeContent(Rect bounds)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | bounds |
Returns
| Type |
|---|
| Size |
Overrides
MeasureContent(double, double)
Measures the content of the TreeGridRow.
Declaration
protected override Size MeasureContent(double widthConstraint, double heightConstraint)
Parameters
| Type | Name | Description |
|---|---|---|
| double | widthConstraint | |
| double | heightConstraint |
Returns
| Type |
|---|
| Size |
Overrides
OnParentSet()
Called when the parent of the TreeGridRow is set.
Declaration
protected override void OnParentSet()
Implements
Microsoft.Maui.Graphics.IDrawable
Microsoft.Maui.IAbsoluteLayout
Microsoft.Maui.ILayout
Microsoft.Maui.IView
Microsoft.Maui.IElement
Microsoft.Maui.ITransform
Microsoft.Maui.IContainer
Microsoft.Maui.ISafeAreaView
Microsoft.Maui.IPadding
Microsoft.Maui.ICrossPlatformLayout
Microsoft.Maui.IVisualTreeElement