menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDataTableModelHelper - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridDataTableModelHelper

    Inheritance
    System.Object
    GridDataTableModelHelper
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public static class GridDataTableModelHelper

    Properties

    IsInDesignMode

    Declaration
    public static bool IsInDesignMode { get; }
    Property Value
    Type
    System.Boolean

    Methods

    AdjustModelWidth(GridDataTableModel, Double)

    Declaration
    public static void AdjustModelWidth(this GridDataTableModel model, double size)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Double size

    AdjustParents(GridDataTableModel, GridDataChildTableModel, Boolean)

    Declaration
    public static void AdjustParents(this GridDataTableModel model, GridDataChildTableModel childModel, bool IsInCollaspeState)
    Parameters
    Type Name Description
    GridDataTableModel model
    GridDataChildTableModel childModel
    System.Boolean IsInCollaspeState

    ExpandRange(GridDataTableModel, GridRangeInfo)

    Declaration
    public static GridRangeInfo ExpandRange(this GridDataTableModel model, GridRangeInfo range)
    Parameters
    Type Name Description
    GridDataTableModel model
    GridRangeInfo range
    Returns
    Type
    GridRangeInfo

    GetNestedTableIndentedValue(GridDataTableModel, ref Int32)

    Declaration
    public static void GetNestedTableIndentedValue(this GridDataTableModel model, ref int value)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 value

    GetOrderForChildTableBasedOnIndex(GridDataTableModel, Int32)

    Declaration
    public static int GetOrderForChildTableBasedOnIndex(this GridDataTableModel model, int actualRowIdx)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 actualRowIdx
    Returns
    Type
    System.Int32

    IsInFilterBarPosition(GridDataTableModel, Int32)

    Declaration
    public static bool IsInFilterBarPosition(this GridDataTableModel model, int actualRowIndex)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 actualRowIndex
    Returns
    Type
    System.Boolean

    IsInGroupRecordIndex(GridDataTableModel, Int32)

    Determines whether the RowIndex is in group records based on position.

    Declaration
    public static bool IsInGroupRecordIndex(this GridDataTableModel model, int actualRowIndex)
    Parameters
    Type Name Description
    GridDataTableModel model

    The model.

    System.Int32 actualRowIndex

    Actual index of the row.

    Returns
    Type Description
    System.Boolean

    true if [is in group index] [the specified model]; otherwise, false.

    IsInHiddenState(GridDataTableModel, Int32)

    Declaration
    public static bool IsInHiddenState(this GridDataTableModel model, int rowIndex)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 rowIndex
    Returns
    Type
    System.Boolean

    IsInNestedIndex(GridDataTableModel, Int32)

    Declaration
    public static bool IsInNestedIndex(this GridDataTableModel model, int rowIdx)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 rowIdx
    Returns
    Type
    System.Boolean

    IsInSummaryPosition(GridDataTableModel, Int32)

    Declaration
    public static bool IsInSummaryPosition(this GridDataTableModel model, int actualRowIndex)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 actualRowIndex
    Returns
    Type
    System.Boolean

    IsInUnboundRow(GridDataTableModel, Int32)

    Returns if the actual row is in Unbound Row.

    Declaration
    public static bool IsInUnboundRow(this GridDataTableModel model, int actualRowIdx)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 actualRowIdx
    Returns
    Type
    System.Boolean

    RefreshParentGrids(GridDataTableModel)

    Declaration
    public static void RefreshParentGrids(this GridDataTableModel model)
    Parameters
    Type Name Description
    GridDataTableModel model

    ResolveAddNewPositionInGrid(GridDataTableModel)

    Retunrs the Add new Row Position

    Declaration
    public static int ResolveAddNewPositionInGrid(this GridDataTableModel model)
    Parameters
    Type Name Description
    GridDataTableModel model
    Returns
    Type
    System.Int32

    ResolveDefaultColumnOffset(GridDataTableModel)

    Declaration
    public static int ResolveDefaultColumnOffset(this GridDataTableModel model)
    Parameters
    Type Name Description
    GridDataTableModel model
    Returns
    Type
    System.Int32

    ResolveDefaultNestedIndex(GridDataTableModel)

    Declaration
    public static int ResolveDefaultNestedIndex(this GridDataTableModel model)
    Parameters
    Type Name Description
    GridDataTableModel model
    Returns
    Type
    System.Int32

    ResolveEndIndexOfStackedHeaderColumn(GridDataTableModel, GridDataStackedHeaderRow, GridDataStackedHeaderColumn)

    Declaration
    public static int ResolveEndIndexOfStackedHeaderColumn(this GridDataTableModel model, GridDataStackedHeaderRow stackedRow, GridDataStackedHeaderColumn stackedHeaderCol)
    Parameters
    Type Name Description
    GridDataTableModel model
    GridDataStackedHeaderRow stackedRow
    GridDataStackedHeaderColumn stackedHeaderCol
    Returns
    Type
    System.Int32

    ResolveFilterBarPositionInGrid(GridDataTableModel)

    Returns the Filterbar Position.

    Declaration
    public static int ResolveFilterBarPositionInGrid(this GridDataTableModel model)
    Parameters
    Type Name Description
    GridDataTableModel model
    Returns
    Type
    System.Int32

    ResolveGroupPositionToIndex(GridDataTableModel, Int32)

    Resolves the index of the group position to index in the grid.

    Declaration
    public static int ResolveGroupPositionToIndex(this GridDataTableModel model, int rowIndex)
    Parameters
    Type Name Description
    GridDataTableModel model

    The model.

    System.Int32 rowIndex

    Index of the row.

    Returns
    Type
    System.Int32

    ResolveGroupRecordPositionToIndex(GridDataTableModel, Int32)

    Declaration
    public static int ResolveGroupRecordPositionToIndex(this GridDataTableModel model, int recordIndex)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 recordIndex
    Returns
    Type
    System.Int32

    ResolveIndexToGroupPosition(GridDataTableModel, Int32)

    Resolves the index to group position in the GroupModel.

    Declaration
    public static int ResolveIndexToGroupPosition(this GridDataTableModel model, int actualRowIndex)
    Parameters
    Type Name Description
    GridDataTableModel model

    The model.

    System.Int32 actualRowIndex

    Actual index of the row.

    Returns
    Type
    System.Int32

    ResolveIndexToRecordPosition(GridDataTableModel, Int32)

    Resolves row index to position in the records collection.

    Declaration
    public static int ResolveIndexToRecordPosition(this GridDataTableModel model, int actualRowIdx)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 actualRowIdx
    Returns
    Type
    System.Int32

    ResolveIndexToStackHeaderColumn(GridDataTableModel, GridDataStackedHeaderRow, Int32)

    Declaration
    public static GridDataStackedHeaderColumn ResolveIndexToStackHeaderColumn(this GridDataTableModel model, GridDataStackedHeaderRow stackedRow, int actualColIndex)
    Parameters
    Type Name Description
    GridDataTableModel model
    GridDataStackedHeaderRow stackedRow
    System.Int32 actualColIndex
    Returns
    Type
    GridDataStackedHeaderColumn

    ResolveIndexToStackHeaderRowPosition(GridDataTableModel, Int32)

    Declaration
    public static int ResolveIndexToStackHeaderRowPosition(this GridDataTableModel model, int actualRowIndex)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 actualRowIndex
    Returns
    Type
    System.Int32

    ResolveIndexToSummaryPosition(GridDataTableModel, Int32)

    Returns the summary row index.

    Declaration
    public static int ResolveIndexToSummaryPosition(this GridDataTableModel model, int actualRowIndex)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 actualRowIndex
    Returns
    Type
    System.Int32

    ResolvePositionToIndex(GridDataTableModel, Int32)

    Resolves the index in the Grid from the Records collection.

    Declaration
    public static int ResolvePositionToIndex(this GridDataTableModel model, int recordIndex)
    Parameters
    Type Name Description
    GridDataTableModel model

    The model.

    System.Int32 recordIndex
    Returns
    Type
    System.Int32

    ResolvePositionToVisibleColumnIndex(GridDataTableModel, Int32)

    Declaration
    public static int ResolvePositionToVisibleColumnIndex(this GridDataTableModel model, int colIdx)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 colIdx
    Returns
    Type
    System.Int32

    ResolveStartIndexBasedOnPosition(GridDataTableModel)

    Returns the starting index for records.

    Declaration
    public static int ResolveStartIndexBasedOnPosition(this GridDataTableModel model)
    Parameters
    Type Name Description
    GridDataTableModel model
    Returns
    Type
    System.Int32

    ResolveStartIndexOfGroup(GridDataTableModel, Group)

    Declaration
    public static int ResolveStartIndexOfGroup(this GridDataTableModel model, Group group)
    Parameters
    Type Name Description
    GridDataTableModel model
    Syncfusion.Windows.Data.Group group
    Returns
    Type
    System.Int32

    ResolveStartIndexOfStackedHeaderColumn(GridDataTableModel, GridDataStackedHeaderRow, GridDataStackedHeaderColumn, Int32)

    Declaration
    public static int ResolveStartIndexOfStackedHeaderColumn(this GridDataTableModel model, GridDataStackedHeaderRow stackedRow, GridDataStackedHeaderColumn stackedHeaderCol, int actualColIndex)
    Parameters
    Type Name Description
    GridDataTableModel model
    GridDataStackedHeaderRow stackedRow
    GridDataStackedHeaderColumn stackedHeaderCol
    System.Int32 actualColIndex
    Returns
    Type
    System.Int32

    ResolveVisibleColumnIndexToPosition(GridDataTableModel, Int32)

    Declaration
    public static int ResolveVisibleColumnIndexToPosition(this GridDataTableModel model, int visibleColIndex)
    Parameters
    Type Name Description
    GridDataTableModel model
    System.Int32 visibleColIndex
    Returns
    Type
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved