Class GridModelCommand
Implements a class that encapsulates a command to be executed at a later point in time.
Inheritance
System.Object
GridModelCommand
Inherited Members
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.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public abstract class GridModelCommand : SyncfusionCommand
Remarks
The Execute() method is overridden in specialized command classes and performs the command that is saved in this command.
Constructors
GridModelCommand()
Initializes the new instances of the GridModelCommand class.
Declaration
public GridModelCommand()
GridModelCommand(GridModel)
Initializes a new GridModelCommand and associates it with a GridModel.
Declaration
public GridModelCommand(GridModel grid)
Parameters
Type | Name | Description |
---|---|---|
GridModel | grid | The GridModel this command is executed on. |
Properties
Description
Gets a description for the command.
Declaration
public override string Description { get; }
Property Value
Type |
---|
System.String |
Overrides
Grid
Gets the GridModel this command is executed on.
Declaration
public GridModel Grid { get; }
Property Value
Type |
---|
GridModel |
Methods
SetDescription(String)
Changes the description of this command.
Declaration
protected void SetDescription(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The new description text. |