Class RowGenerator
Inheritance
System.Object
RowGenerator
Implements
System.IDisposable
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
[ClassReference(IsReviewed = false)]
public class RowGenerator : Object, IRowGenerator, IDisposable
Constructors
RowGenerator(SfDataGrid)
Declaration
public RowGenerator(SfDataGrid owner)
Parameters
Properties
CanResetDataContext
Denotes whether reset the DataContext for DataRow when it's going out of view.
Declaration
public bool CanResetDataContext { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Items
Declaration
public List<DataRowBase> Items { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<DataRowBase> |
|
Owner
Declaration
public SfDataGrid Owner { get; set; }
Property Value
View
Declaration
public ICollectionViewAdv View { get; }
Property Value
Methods
ApplyColumnSizeronInitial(Double)
Declaration
public void ApplyColumnSizeronInitial(double availableWidth)
Parameters
Type |
Name |
Description |
System.Double |
availableWidth |
|
ApplyFixedRowVisualState(Int32, Boolean)
Declaration
public void ApplyFixedRowVisualState(int index, bool canapply)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Boolean |
canapply |
|
Declaration
public void ColumnHiddenChanged(HiddenRangeChangedEventArgs args)
Parameters
ColumnInserted(Int32, Int32)
Declaration
public void ColumnInserted(int index, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
count |
|
ColumnRemoved(Int32, Int32)
Declaration
public void ColumnRemoved(int index, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
count |
|
Dispose()
Declaration
Dispose(Boolean)
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.
|
Declaration
public void EnsureColumns(VisibleLinesCollection visibleColumns)
Parameters
Method to ensure or update the row associated properties like RowIndex, RowData, row state and its selection while scrolling and Data Manipulation Operation based on VisibleRows.
Declaration
public virtual void EnsureRows(VisibleLinesCollection visibleRows)
Parameters
GetDataRow<T>(RowType)
Declaration
protected virtual GridDataRow GetDataRow<T>(RowType rowType)
where T : GridDataRow, new()
Parameters
Type |
Name |
Description |
RowType |
rowType |
Type of the row.
|
Returns
Type Parameters
Name |
Description |
T |
type of the row.
|
GetGridCell<T>()
Declaration
protected virtual GridCell GetGridCell<T>()
where T : GridCell, new()
Returns
Type Parameters
Name |
Description |
T |
Type of the cell.
|
GetVirtualizingCellsControl<T>()
Declaration
protected virtual VirtualizingCellsControl GetVirtualizingCellsControl<T>()
where T : VirtualizingCellsControl, new()
Returns
Type Parameters
LineSizeChanged()
Declaration
public void LineSizeChanged()
OnItemSourceChanged(DependencyPropertyChangedEventArgs)
Declaration
public void OnItemSourceChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.DependencyPropertyChangedEventArgs |
args |
|
Declaration
public void PregenerateRows(VisibleLinesCollection visibleRows, VisibleLinesCollection visibleColumns)
Parameters
QueryRowHeight(Int32, ref Double)
Declaration
public bool QueryRowHeight(int rowIndex, ref double height)
Parameters
Type |
Name |
Description |
System.Int32 |
rowIndex |
|
System.Double |
height |
|
Returns
Type |
Description |
System.Boolean |
|
Refreshing StackedHeaders after the changes in GridColumn collection
Declaration
public void RefreshStackedHeaders()
ResetSelection()
Declaration
public void ResetSelection()
Declaration
public void RowHiddenChanged(HiddenRangeChangedEventArgs args)
Parameters
RowsArranged(Size)
Declaration
public void RowsArranged(Size finalSize)
Parameters
Type |
Name |
Description |
Windows.Foundation.Size |
finalSize |
|
Explicit Interface Implementations
IRowGenerator.Items
Declaration
IList<IRowElement> IRowGenerator.Items { get; }
Returns
Type |
Description |
System.Collections.Generic.IList<IRowElement> |
|
Implements
System.IDisposable
Extension Methods