WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridChangeCellsCommand - WindowsForms API Reference | Syncfusion ChangeCells(GridRangeInfo, GridStyleInfo[]) operation. ">

    Show / Hide Table of Contents

    Class GridChangeCellsCommand

    Holds undo information about a previous ChangeCells(GridRangeInfo, GridStyleInfo[]) operation.

    Inheritance
    System.Object
    SyncfusionCommand
    GridModelCommand
    GridChangeCellsCommand
    Inherited Members
    GridModelCommand.SetDescription(String)
    GridModelCommand.Description
    GridModelCommand.Grid
    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.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridChangeCellsCommand : GridModelCommand
    Remarks

    The Execute() method will call ChangeCells(GridRangeInfo, GridStyleInfo[]) with information stored in this object and scroll the affect range into the current grid view.

    Constructors

    GridChangeCellsCommand(GridModel, GridRangeInfo, GridStyleInfo[], StyleModifyType)

    Initializes the new instances of GridChangeCellsCommand with information how to execute a ChangeCells(GridRangeInfo, GridStyleInfo[]) command at a later time.

    Declaration
    public GridChangeCellsCommand(GridModel table, GridRangeInfo range, GridStyleInfo[] cellsInfo, StyleModifyType modifyType)
    Parameters
    Type Name Description
    GridModel table

    The GridModel this command is associated with.

    GridRangeInfo range

    A GridRangeInfo that specifies the range of cells.

    GridStyleInfo[] cellsInfo

    The array of GridStyleInfo objects that holds cell information.

    StyleModifyType modifyType

    A StyleModifyType that specifies the style operation to be performed.

    Methods

    Execute()

    Executes the command.

    Declaration
    public override void Execute()
    Overrides
    SyncfusionCommand.Execute()
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved