WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCellNestedGridModel - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridCellNestedGridModel

    Implements the model of a nested grid cell.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    GridCellModelBase
    GridCellNestedGridModel
    GridDataCellNestedGridModel
    Implements
    System.IDisposable
    Inherited Members
    GridCellModelBase.OnCreated()
    GridCellModelBase.GetFormattedText(GridStyleInfo, Object, Int32)
    GridCellModelBase.ApplyFormattedText(GridStyleInfo, String, Int32)
    GridCellModelBase.GetText(GridStyleInfo, Object)
    GridCellModelBase.ApplyText(GridStyleInfo, String)
    GridCellModelBase.GetPropertyDescriptor(GridStyleInfo)
    GridCellModelBase.GetTypeConverter(GridStyleInfo)
    GridCellModelBase.RaiseCurrentCellContentChanged()
    GridCellModelBase.CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)
    GridCellModelBase.AddBorderMargins(Size, Thickness)
    GridCellModelBase.RemoveBorderMargins(Size, Thickness)
    GridCellModelBase.OnQueryPrefferedClientSize(Int32, Int32, GridStyleInfo, GridQueryBounds)
    GridCellModelBase.GetCellSize(Int32, Int32)
    GridCellModelBase.GetCellClientSize(Int32, Int32, GridStyleInfo)
    GridCellModelBase.GridModel
    GridCellModelBase.ActiveRenderer
    GridCellModelBase.MeasureEmptyCellString
    NonFinalizeDisposable.Dispose()
    NonFinalizeDisposable.Dispose(Boolean)
    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()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridCellNestedGridModel : GridCellModelBase, IDisposable
    Remarks

    You can nest grids inside a row, column or covered range. When you nest a grid inside a covered range you can specify whether the rows or columns derive their state from the parent control. You have multiple independent options for both rows and columns.

    The GridNestedAxisLayout enumeration defines the possible options for the rows and columns of a nested grid.

    Row | Column | Description

    Normal | Normal | Nested grid will have its own row heights and column widths, independent of parent grid.

    Shared | Normal | Shared Row layout - Nested grid will have unique column widths, but its row heights are shared with the parent grid.

    Normal | Shared | Shared Column layout - Nested grid will have unique row heights, but its column widths are shared with the parent grid.

    Nested | Nested | Nested Layout - The rows and columns of the inner grid is nested inside a single row or column of the parent grid.

    Constructors

    GridCellNestedGridModel()

    Initializes a new GridCellNestedGridModel that maintains own sizes, independent of the parent grid.

    Declaration
    public GridCellNestedGridModel()

    GridCellNestedGridModel(GridNestedAxisLayout, GridNestedAxisLayout)

    Initializes a new GridCellNestedGridModel.

    Declaration
    public GridCellNestedGridModel(GridNestedAxisLayout rowLayout, GridNestedAxisLayout columnLayout)
    Parameters
    Type Name Description
    GridNestedAxisLayout rowLayout

    Row layout.

    GridNestedAxisLayout columnLayout

    Column layout.

    Properties

    ColumnLayout

    Gets or sets the column layout for the nested grid. It can be normal, nested or shared.

    Declaration
    public GridNestedAxisLayout ColumnLayout { get; set; }
    Property Value
    Type Description
    GridNestedAxisLayout

    RowLayout

    Gets or sets the row layout for the nested grid. It can be normal, nested or shared.

    Declaration
    public GridNestedAxisLayout RowLayout { get; set; }
    Property Value
    Type Description
    GridNestedAxisLayout

    Methods

    Clone()

    Creates a copy of the current GridCellNestedGridModel object.

    Declaration
    public override GridCellModelBase Clone()
    Returns
    Type Description
    GridCellModelBase

    A copy of the current object.

    Overrides
    GridCellModelBase.Clone()

    CreateRenderer()

    Creates the nested grid cell renderer with the specified row and column layouts.

    Declaration
    public override IGridCellRenderer CreateRenderer()
    Returns
    Type Description
    IGridCellRenderer

    Cell renderer.

    Overrides
    GridCellModelBase.CreateRenderer()

    Implements

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