Class DataGridRow
Represents a record row in a SfDataGrid control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridRow : SfView, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement, ISemanticsProvider, IDisposable
Remarks
A DataGridRow represents a single data item in a bound data source. Each row contains one cell per column in the SfDataGrid, and each cell displays a single value in the bound data item.
Constructors
DataGridRow()
Initializes a new instance of the DataGridRow class.
Declaration
public DataGridRow()
Fields
BackgroundProperty
Identifies the Background Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
DataRow
Gets or sets the DataRow of record row.
Declaration
public GridDataRow DataRow
Field Value
Type |
---|
Syncfusion.Maui.DataGrid.GridDataRow |
Properties
Background
Gets or sets the background.
Declaration
public Brush Background { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.Brush |
DataGrid
Gets the reference of the SfDataGrid control.
Declaration
public SfDataGrid DataGrid { get; }
Property Value
Type | Description |
---|---|
SfDataGrid | The reference of the SfDataGrid control. |
Visibility
Gets or sets a value indicating whether the visibility of the record row.
Declaration
public bool Visibility { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value that indicates the visibility of the record row. |
Methods
ArrangeContent(Rect)
ToDo
Declaration
protected override Size ArrangeContent(Rect bounds)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Graphics.Rect | bounds |
Returns
Type |
---|
Microsoft.Maui.Graphics.Size |
Overrides
Dispose()
Perform final clean up before it is released from memory.
Declaration
public void Dispose()
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | if true - release both managed and unmanaged resources; if false - release only unmanaged resources. |
MeasureContent(Double, Double)
ToDo
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()
This method is implemented in order to add behavior when the element is added to a parent.
Declaration
protected override void OnParentSet()