WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridModelMoveRangeCommand - WindowsForms API Reference | Syncfusion MoveRange(Int32, Int32) operation. ">

    Show / Hide Table of Contents

    Class GridModelMoveRangeCommand

    Holds undo information about a previous MoveRange(Int32, Int32) operation.

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

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

    Constructors

    GridModelMoveRangeCommand(GridModelRowColOperations, Int32, Int32, Int32)

    Initializes the new instances ofGridModelMoveRangeCommand with information how to execute a MoveRange(Int32, Int32) command at a later time and associates it with a GridModelRowColOperations instance.

    Declaration
    public GridModelMoveRangeCommand(GridModelRowColOperations rco, int from, int count, int target)
    Parameters
    Type Name Description
    GridModelRowColOperations rco

    The GridModelRowColOperations this command is associated with.

    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 - 2022 Syncfusion Inc. All Rights Reserved