menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataGridRow - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DataGridRow

    Represents a record row in a SfDataGrid control.

    Inheritance
    System.Object
    SfView
    DataGridRow
    DataGridCaptionSummaryRowView
    DataGridGroupSummaryRowView
    DataGridHeaderRow
    DataGridStackedHeaderRowView
    DataGridTableSummaryRowView
    DataGridUnboundRowView
    DetailsViewDataGridRow
    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
    System.IDisposable
    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.OnDraw(ICanvas, RectF)
    SfView.OnHandlerChanged()
    SfView.Padding
    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
    SfView.ArrangeContent(Rect)

    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
    SfView.MeasureContent(Double, Double)

    OnParentSet()

    This method is implemented in order to add behavior when the element is added to a parent.

    Declaration
    protected override void OnParentSet()

    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
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved