menu

WPF

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

    Show / Hide Table of Contents

    Class GridModelInsertColumnsCommand

    Holds undo information about a previous operation.

    Inheritance
    System.Object
    SyncfusionCommand
    GridModelCommand
    GridModelInsertColumnsCommand
    Inherited Members
    GridModelCommand.Description
    GridModelCommand.Grid
    GridModelCommand.SetDescription(String)
    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 GridModelInsertColumnsCommand : GridModelCommand
    Remarks

    The Execute() method will call with information stored in this object and scroll the affect range into the current grid view.

    Constructors

    GridModelInsertColumnsCommand(GridModel, Int32, Int32)

    Initializes the GridModelInsertColumnsCommand with information how to execute a command at a later time and associates it with a instance.

    Declaration
    public GridModelInsertColumnsCommand(GridModel model, int insertAt, int count)
    Parameters
    Type Name Description
    GridModel model
    System.Int32 insertAt

    The row or column where cells should be inserted.

    System.Int32 count

    The number of rows or columns to insert.

    Methods

    Execute()

    Executes the command.

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