menu

WinForms

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

    Show / Hide Table of Contents

    Class GridBaseCellModelFactory

    GridCellModelFactory creates GridCellModelBase objects to be used in a GridModel.

    Inheritance
    System.Object
    GridBaseCellModelFactory
    GridCellModelFactory
    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.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridBaseCellModelFactory : IGridCellModelFactory

    Constructors

    GridBaseCellModelFactory()

    Initializes a new instance of GridBaseCellModelFactory class.

    Declaration
    public GridBaseCellModelFactory()

    GridBaseCellModelFactory(Boolean)

    Initializes a new instance of GridBaseCellModelFactory class 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

    When True, marks this instance of GridBaseCellModelFactory as Default.

    Properties

    IsDefault

    Gets a value indicating whether 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

    A cell model.

    Implements

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