menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataRow - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DataRow

    Represents a class that provides the common functionalities of data rows in SfDataGrid.

    Inheritance
    System.Object
    DataRowBase
    GridDataRow
    DataRow
    FilterRow
    UnboundRow
    Implements
    IRowElement
    IElement
    System.ComponentModel.INotifyPropertyChanged
    System.IComparable
    System.IDisposable
    Inherited Members
    DataRowBase.ArrangeElement(Rect)
    DataRowBase.ArrangeRect
    DataRowBase.CompareTo(Object)
    DataRowBase.Dispose()
    DataRowBase.Element
    DataRowBase.GetDataRow()
    DataRowBase.GetVisibleColumns()
    DataRowBase.Index
    DataRowBase.IsCurrentRow
    DataRowBase.IsEditing
    DataRowBase.IsExpanded
    DataRowBase.IsFixedRow
    DataRowBase.IsFocusedRow
    DataRowBase.IsSelectedRow
    DataRowBase.IsSpannedRow
    DataRowBase.Level
    DataRowBase.MeasureElement(Size)
    DataRowBase.OnPropertyChanged(String)
    DataRowBase.OnRowDataChanged()
    DataRowBase.PropertyChanged
    DataRowBase.RowData
    DataRowBase.RowIndex
    DataRowBase.RowRegion
    DataRowBase.RowType
    DataRowBase.VisibleColumns
    DataRowBase.WholeRowElement
    GridDataRow.AllowRowHoverHighlighting()
    GridDataRow.CollapseColumn(DataColumnBase)
    GridDataRow.CreateRowHeaderColumn(Int32)
    GridDataRow.Dispose(Boolean)
    GridDataRow.GetColumnVisibleLineInfo(Int32)
    GridDataRow.GetRowVisibleLineInfo(Int32)
    GridDataRow.GetVisibleLineOrigin()
    GridDataRow.OnExpandedStateChanged()
    GridDataRow.SetCurrentCellBorderBinding(UIElement)
    GridDataRow.SetSelectionBorderBindings(DataGridRowControl)
    Namespace: Syncfusion.UI.Xaml.DataGrid
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public class DataRow : GridDataRow, IRowElement, IElement, INotifyPropertyChanged, IComparable, IDisposable

    Constructors

    DataRow()

    Initializes a new instance of DataRow class.

    Declaration
    public DataRow()

    Methods

    CanUpdateColumn(DataColumnBase)

    Gets a value that indicates whether the VisibleColumn can be update or not.

    Declaration
    protected virtual bool CanUpdateColumn(DataColumnBase dataColumn)
    Parameters
    Type Name Description
    DataColumnBase dataColumn

    Corresponding datacolumn

    Returns
    Type Description
    System.Boolean

    true when Column can update for reusing otherwise false.

    CreateIndentColumn(Int32)

    Creates the indent column.

    Declaration
    protected override DataColumnBase CreateIndentColumn(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The correponding index.

    Returns
    Type Description
    DataColumnBase

    The corresponding data columns.

    Overrides
    DataRowBase.CreateIndentColumn(Int32)

    GetColumnSize(Int32, Boolean)

    Gets the specified column size.

    Declaration
    protected override double GetColumnSize(int index, bool lineNull)
    Parameters
    Type Name Description
    System.Int32 index

    The specified column index.

    System.Boolean lineNull

    Indicates whether to retrieve the size from the visible lines or from the range.

    Returns
    Type Description
    System.Double

    The Column size.

    Overrides
    GridDataRow.GetColumnSize(Int32, Boolean)

    GetRowSize(DataColumnBase, Boolean)

    Gets the specified row size.

    Declaration
    protected override double GetRowSize(DataColumnBase dataColumn, bool lineNull)
    Parameters
    Type Name Description
    DataColumnBase dataColumn

    The corresponding column.

    System.Boolean lineNull

    Indicates whether to retrieve the size from the visible lines or from the range.

    Returns
    Type Description
    System.Double

    The Row size.

    Overrides
    GridDataRow.GetRowSize(DataColumnBase, Boolean)

    OnCreateRowElement()

    Creates the row element for DataGrid row.

    Declaration
    protected override DataGridRowControl OnCreateRowElement()
    Returns
    Type
    DataGridRowControl
    Overrides
    DataRowBase.OnCreateRowElement()

    OnGenerateVisibleColumns(VisibleLinesCollection)

    Generates the visible columns.

    Declaration
    protected override void OnGenerateVisibleColumns(VisibleLinesCollection visibleColumnLines)
    Parameters
    Type Name Description
    VisibleLinesCollection visibleColumnLines

    The corresponding visible column lines.

    Overrides
    DataRowBase.OnGenerateVisibleColumns(VisibleLinesCollection)

    OnRowIndexChanged()

    Invoked when the row index changed.

    Declaration
    protected override void OnRowIndexChanged()
    Overrides
    DataRowBase.OnRowIndexChanged()

    Implements

    IRowElement
    IElement
    System.ComponentModel.INotifyPropertyChanged
    System.IComparable
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved