menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IRowGenerator - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IRowGenerator

    Interface that maintains the methods for row generation in SfDataGrid.

    Namespace: Syncfusion.UI.Xaml.DataGrid
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public interface IRowGenerator

    Properties

    Items

    Gets the items.

    Declaration
    IList<IRowElement> Items { get; }
    Property Value
    Type
    System.Collections.Generic.IList<IRowElement>

    Owner

    Gets or sets the SfDataGrid.

    Declaration
    SfDataGrid Owner { get; set; }
    Property Value
    Type
    SfDataGrid

    Methods

    ApplyColumnSizeronInitial(Double)

    Invoked to apply column sizer.

    Declaration
    void ApplyColumnSizeronInitial(double availableWidth)
    Parameters
    Type Name Description
    System.Double availableWidth

    The availabke width.

    ApplyFixedRowVisualState(Int32, Boolean)

    Invoked to apply visual states for the rows.

    Declaration
    void ApplyFixedRowVisualState(int index, bool canapply)
    Parameters
    Type Name Description
    System.Int32 index

    The corresponding row index.

    System.Boolean canapply

    Indicates whether visual state for the specific row can be applied or not.

    ColumnHiddenChanged(HiddenRangeChangedEventArgs)

    Invoked when the hidden state of column changed.

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

    The HiddenRangeChangedEventArgs instance contains the event data.

    ColumnInserted(Int32, Int32)

    Invoked when the column inserted.

    Declaration
    void ColumnInserted(int index, int count)
    Parameters
    Type Name Description
    System.Int32 index

    The Corresponding column index.

    System.Int32 count

    The count.

    ColumnRemoved(Int32, Int32)

    Invoked when the column removed.

    Declaration
    void ColumnRemoved(int index, int count)
    Parameters
    Type Name Description
    System.Int32 index

    The specified column index.

    System.Int32 count

    The count.

    EnsureColumns(VisibleLinesCollection)

    Ensures the columns.

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

    The corresponding visible columns.

    EnsureRows(VisibleLinesCollection)

    Ensures the rows.

    Declaration
    void EnsureRows(VisibleLinesCollection visibleRows)
    Parameters
    Type Name Description
    VisibleLinesCollection visibleRows

    The corresponding visible rows.

    LineSizeChanged()

    Invoked when the size of line changed.

    Declaration
    void LineSizeChanged()

    OnItemSourceChanged(DependencyPropertyChangedEventArgs)

    Invoked when the items source changed.

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

    The Microsoft.UI.Xaml.DependencyPropertyChangedEventArgs instance contains the event data.

    PregenerateRows(VisibleLinesCollection, VisibleLinesCollection)

    Invoked to pregenerate rows.

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

    The corresponding visible rows.

    VisibleLinesCollection visibleColumns

    The corresponding visible columns.

    QueryRowHeight(Int32, ref Double)

    Gets a value indicating whether the Row height can be modified or not..

    Declaration
    bool QueryRowHeight(int RowIndex, ref double height)
    Parameters
    Type Name Description
    System.Int32 RowIndex

    The corresponding row index.

    System.Double height

    The row height.

    Returns
    Type Description
    System.Boolean

    true if the row height can be modified; otherwise false.

    RowHiddenChanged(HiddenRangeChangedEventArgs)

    Invoked when the hidden state of row changed.

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

    The HiddenRangeChangedEventArgs instance contains the event data.

    RowsArranged(Size)

    Invoked to arrange the rows.

    Declaration
    void RowsArranged(Size finalSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size finalSize

    The final size

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved