Class DataRowBase
Inheritance
System.Object
DataRowBase
Implements
System.ComponentModel.INotifyPropertyChanged
System.IComparable
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
[ClassReference(IsReviewed = false)]
public abstract class DataRowBase : IRowElement, IElement, INotifyPropertyChanged, IComparable, IDisposable
Constructors
DataRowBase()
Declaration
Fields
suspendUpdateStyle
Declaration
protected bool suspendUpdateStyle
Field Value
Type |
Description |
System.Boolean |
|
Properties
ArrangeRect
Declaration
public Rect ArrangeRect { get; set; }
Property Value
Type |
Description |
System.Windows.Rect |
|
Element
Declaration
public FrameworkElement Element { get; }
Property Value
Type |
Description |
System.Windows.FrameworkElement |
|
Index
Declaration
public int Index { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsCurrentRow
Declaration
public bool IsCurrentRow { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsEditing
Declaration
public bool IsEditing { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsExpanded
Declaration
public bool IsExpanded { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsFixedRow
This flag will be set to True only for FixedGroupCaptions.
Declaration
public bool IsFixedRow { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsFocusedRow
Get or sets the value indicating row is focused or not.
Declaration
public bool IsFocusedRow { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsSelectedRow
Gets or sets a value indicating whether this row is selected or not
Declaration
public bool IsSelectedRow { get; set; }
Property Value
Type |
Description |
System.Boolean |
true if this instance ; otherwise, false.
|
IsSpannedRow
Declaration
public bool IsSpannedRow { get; }
Property Value
Type |
Description |
System.Boolean |
|
Level
Declaration
public int Level { get; }
Property Value
Type |
Description |
System.Int32 |
|
RowData
Declaration
public object RowData { get; set; }
Property Value
Type |
Description |
System.Object |
|
RowIndex
Declaration
public int RowIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
RowRegion
Declaration
public RowRegion RowRegion { get; }
Property Value
RowType
Declaration
public RowType RowType { get; }
Property Value
VisibleColumns
Get the List of DataColumnBase maintained in DataRow
Declaration
public List<DataColumnBase> VisibleColumns { get; }
Property Value
WholeRowElement
Declaration
protected VirtualizingCellsControl WholeRowElement { get; }
Property Value
Methods
ArrangeElement(Rect)
Declaration
public virtual void ArrangeElement(Rect rect)
Parameters
Type |
Name |
Description |
System.Windows.Rect |
rect |
|
CollapseColumn(DataColumnBase)
Declaration
protected virtual void CollapseColumn(DataColumnBase column)
Parameters
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Int32 |
|
CreateIndentColumn(Int32)
Declaration
protected abstract DataColumnBase CreateIndentColumn(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Dispose()
Disposes all the resources used by the DataRowBase class.
Declaration
Dispose(Boolean)
Disposes all the resources used by the DataRowBase class.
Declaration
protected virtual void Dispose(bool isDisposing)
Parameters
Type |
Name |
Description |
System.Boolean |
isDisposing |
Indicates whether the call is from Dispose method or from a finalizer.
|
GetColumnSize(Int32, Boolean)
Declaration
protected virtual double GetColumnSize(int index, bool lineNull)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Boolean |
lineNull |
|
Returns
Type |
Description |
System.Double |
|
GetColumnVisibleLineInfo(Int32)
Declaration
protected virtual VisibleLineInfo GetColumnVisibleLineInfo(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
GetDataRow()
Declaration
protected virtual DataRowBase GetDataRow()
Returns
GetRowSize(DataColumnBase, Boolean)
Declaration
protected virtual double GetRowSize(DataColumnBase dataColumn, bool lineNull)
Parameters
Type |
Name |
Description |
DataColumnBase |
dataColumn |
|
System.Boolean |
lineNull |
|
Returns
Type |
Description |
System.Double |
|
GetRowVisibleLineInfo(Int32)
Declaration
protected virtual VisibleLineInfo GetRowVisibleLineInfo(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
GetVisibleColumns()
Declaration
protected IList<DataColumnBase> GetVisibleColumns()
Returns
MeasureElement(Size)
Declaration
public virtual void MeasureElement(Size size)
Parameters
Type |
Name |
Description |
System.Windows.Size |
size |
|
OnCreateRowElement()
Declaration
protected abstract VirtualizingCellsControl OnCreateRowElement()
Returns
OnExpandedStateChanged()
Declaration
protected virtual void OnExpandedStateChanged()
Declaration
protected abstract void OnGenerateVisibleColumns(VisibleLinesCollection visibleColumnLines)
Parameters
OnPropertyChanged(String)
Declaration
public void OnPropertyChanged(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
OnRowDataChanged()
Declaration
protected virtual void OnRowDataChanged()
OnRowIndexChanged()
Declaration
protected virtual void OnRowIndexChanged()
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
System.IComparable
System.IDisposable