menu

WPF

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

    Show / Hide Table of Contents

    Class GridModelMoveColumnsCommand

    Holds undo information about a previous operation.

    Inheritance
    System.Object
    SyncfusionCommand
    GridModelCommand
    GridModelMoveColumnsCommand
    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 GridModelMoveColumnsCommand : GridModelCommand
    Remarks

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

    Constructors

    GridModelMoveColumnsCommand(GridModel, Int32, Int32, Int32)

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

    Declaration
    public GridModelMoveColumnsCommand(GridModel model, int from, int count, int target)
    Parameters
    Type Name Description
    GridModel model
    System.Int32 from

    The first row or column.

    System.Int32 count

    The number of rows or columns to move.

    System.Int32 target

    The target row or column.

    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