menu

WPF

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

    Show / Hide Table of Contents

    Class GridBaseCellModelFactory

    GridCellModelFactory creates GridCellModelBase objects to be used in a GridModel.

    Inheritance
    System.Object
    GridBaseCellModelFactory
    Implements
    IGridCellModelFactory
    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 class GridBaseCellModelFactory : IGridCellModelFactory

    Constructors

    GridBaseCellModelFactory()

    Initializes a GridBaseCellModelFactory

    Declaration
    public GridBaseCellModelFactory()

    GridBaseCellModelFactory(Boolean)

    Initializes a GridBaseCellModelFactory and optionally marks it as "Default", allowing the grid to replace it with a derived factory at any time.

    Declaration
    public GridBaseCellModelFactory(bool isDefault)
    Parameters
    Type Name Description
    System.Boolean isDefault

    True if this cell model factory is default.

    Properties

    IsDefault

    Returns true when the grid is allowed to replace this factory with a derived factory at any time.

    Declaration
    public virtual bool IsDefault { get; }
    Property Value
    Type
    System.Boolean

    Methods

    CreateCellModel(String, GridModel)

    Creates GridCellModelBase objects to be used in a GridModel.

    Declaration
    public virtual GridCellModelBase CreateCellModel(string cellTypeName, GridModel pGrid)
    Parameters
    Type Name Description
    System.String cellTypeName

    A cell type name that identifies the cell model to be instantiated.

    GridModel pGrid

    The GridModel the new cell model object should be associated with.

    Returns
    Type Description
    GridCellModelBase

    Appropriate cell model.

    Implements

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