Class TreeGridRow
Represents a row in the SfTreeGrid control.
Implements
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
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, ISemanticsProvider
Constructors
TreeGridRow()
Declaration
public TreeGridRow()
Fields
BackgroundProperty
Identifies the Background Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Properties
Background
Gets or sets the background of the TreeGridRow.
Declaration
public Brush Background { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.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 |
|---|
| System.Int32 |
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 |
|---|---|---|
| Microsoft.Maui.Graphics.Rect | bounds |
Returns
| Type |
|---|
| Microsoft.Maui.Graphics.Size |
Overrides
MeasureContent(Double, Double)
Measures the content of the TreeGridRow.
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
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
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