UWP

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RowGenerator - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RowGenerator

    Inheritance
    System.Object
    RowGenerator
    Implements
    IRowGenerator
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.UWP.dll
    Syntax
    [ClassReference(IsReviewed = false)]
    public class RowGenerator : Object, IRowGenerator, IDisposable

    Constructors

    RowGenerator(SfDataGrid)

    Declaration
    public RowGenerator(SfDataGrid owner)
    Parameters
    Type Name Description
    SfDataGrid owner

    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
    Type Description
    SfDataGrid

    View

    Declaration
    public ICollectionViewAdv View { get; }
    Property Value
    Type Description
    ICollectionViewAdv

    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

    ColumnHiddenChanged(HiddenRangeChangedEventArgs)

    Declaration
    public void ColumnHiddenChanged(HiddenRangeChangedEventArgs args)
    Parameters
    Type Name Description
    HiddenRangeChangedEventArgs args

    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()

    Disposes all the resources used by the RowGenerator class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes all the resources used by the RowGenerator 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.

    EnsureColumns(VisibleLinesCollection)

    Declaration
    public void EnsureColumns(VisibleLinesCollection visibleColumns)
    Parameters
    Type Name Description
    VisibleLinesCollection visibleColumns

    EnsureRows(VisibleLinesCollection)

    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
    Type Name Description
    VisibleLinesCollection visibleRows

    GetDataRow<T>(RowType)

    Get the data row.

    Declaration
    protected virtual GridDataRow GetDataRow<T>(RowType rowType)
        where T : GridDataRow, new()
    Parameters
    Type Name Description
    RowType rowType

    Type of the row.

    Returns
    Type Description
    GridDataRow

    DataRow

    Type Parameters
    Name Description
    T

    type of the row.

    GetGridCell<T>()

    Get the GridCell.

    Declaration
    protected virtual GridCell GetGridCell<T>()
        where T : GridCell, new()
    Returns
    Type Description
    GridCell

    GridCell

    Type Parameters
    Name Description
    T

    Type of the cell.

    GetVirtualizingCellsControl<T>()

    Declaration
    protected virtual VirtualizingCellsControl GetVirtualizingCellsControl<T>()
        where T : VirtualizingCellsControl, new()
    Returns
    Type Description
    VirtualizingCellsControl

    VirtualizingCellsControl

    Type Parameters
    Name Description
    T

    LineSizeChanged()

    Declaration
    public void LineSizeChanged()

    OnItemSourceChanged(DependencyPropertyChangedEventArgs)

    Declaration
    public void OnItemSourceChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    Windows.UI.Xaml.DependencyPropertyChangedEventArgs args

    PregenerateRows(VisibleLinesCollection, VisibleLinesCollection)

    Declaration
    public void PregenerateRows(VisibleLinesCollection visibleRows, VisibleLinesCollection visibleColumns)
    Parameters
    Type Name Description
    VisibleLinesCollection visibleRows
    VisibleLinesCollection visibleColumns

    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

    RefreshStackedHeaders()

    Refreshing StackedHeaders after the changes in GridColumn collection

    Declaration
    public void RefreshStackedHeaders()

    ResetSelection()

    Declaration
    public void ResetSelection()

    RowHiddenChanged(HiddenRangeChangedEventArgs)

    Declaration
    public void RowHiddenChanged(HiddenRangeChangedEventArgs args)
    Parameters
    Type Name Description
    HiddenRangeChangedEventArgs args

    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

    IRowGenerator
    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved