Class GridModelCommand
A class that encapsulates a command to be executed at a later point in time.
Inheritance
System.Object
GridModelCommand
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public abstract class GridModelCommand : SyncfusionCommand
Remarks
The Execute() method is overriden in specialized command classes and performs the command that is saved in this command.
Constructors
GridModelCommand()
Initializes a new GridModelCommand.
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. |