menu

WPF

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

    Show / Hide Table of Contents

    Class GridModelRemoveRowsCommand

    Holds undo information about a previous operation.

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

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

    Constructors

    GridModelRemoveRowsCommand(GridModel, Int32, Int32)

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

    Declaration
    public GridModelRemoveRowsCommand(GridModel model, int from, int last)
    Parameters
    Type Name Description
    GridModel model
    System.Int32 from

    The first row or column.

    System.Int32 last

    The last 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