Class GridDataRow
Represents a class that provides the common functionalities of Grid data rows.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public abstract class GridDataRow : DataRowBase, IRowElement, IElement, INotifyPropertyChanged, IComparable, IDisposable
Constructors
GridDataRow()
Declaration
protected GridDataRow()
Methods
AllowRowHoverHighlighting()
Gets the value indicating whether row can be highlighted or not while hovering.
Declaration
protected virtual bool AllowRowHoverHighlighting()
Returns
Type | Description |
---|---|
System.Boolean | true if the row can be highlighted; otherwise false. |
CollapseColumn(DataColumnBase)
Collapses the specified column.
Declaration
protected override void CollapseColumn(DataColumnBase column)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | column | The specified column. |
Overrides
CreateRowHeaderColumn(Int32)
Creates a row header for the column.
Declaration
protected void CreateRowHeaderColumn(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The specified column index. |
Dispose(Boolean)
Disposes all the resources used by the DataRowBase class.
Declaration
protected override void Dispose(bool isDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisposing | Indicates whether the call is from Dispose method or from a finalizer. |
Overrides
GetColumnSize(Int32, Boolean)
Gets the column size.
Declaration
protected override double GetColumnSize(int index, bool lineNull)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The corresponding 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
GetColumnVisibleLineInfo(Int32)
Gets the visible line information of the specified column.
Declaration
protected override VisibleLineInfo GetColumnVisibleLineInfo(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The specified column index. |
Returns
Type |
---|
VisibleLineInfo |
Overrides
GetRowSize(DataColumnBase, Boolean)
Gets the 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
GetRowVisibleLineInfo(Int32)
Gets the visible line information of the specified row.
Declaration
protected override VisibleLineInfo GetRowVisibleLineInfo(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The specified row index. |
Returns
Type |
---|
VisibleLineInfo |
Overrides
GetVisibleLineOrigin()
Gets the origin of visible line.
Declaration
protected double GetVisibleLineOrigin()
Returns
Type | Description |
---|---|
System.Double | The Visible line origin. |
OnExpandedStateChanged()
Invoked when the Expander state changed.
Declaration
protected override void OnExpandedStateChanged()
Overrides
SetCurrentCellBorderBinding(UIElement)
Sets the current cell border for specified column.
Declaration
protected void SetCurrentCellBorderBinding(UIElement columnElement)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.UIElement | columnElement | The specified column. |
SetSelectionBorderBindings(DataGridRowControl)
Sets the bindings for row selection properties.
Declaration
protected void SetSelectionBorderBindings(DataGridRowControl cellsControl)
Parameters
Type | Name | Description |
---|---|---|
DataGridRowControl | cellsControl | The DataGrid row control. |