Class DataRow
Represents a class that provides the common functionalities of data rows in SfDataGrid.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.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
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
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
OnCreateRowElement()
Declaration
protected override VirtualizingCellsControl OnCreateRowElement()
Returns
Type |
---|
VirtualizingCellsControl |
Overrides
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
OnRowDataChanged()
Declaration
protected override void OnRowDataChanged()
Overrides
OnRowIndexChanged()
Invoked when the row index changed.
Declaration
protected override void OnRowIndexChanged()