DiagramCommandsBase.Execute<T>(DiagramCommand<T>, T, IMouseArgs) Method
Executes the specified diagram command.
Namespace: DevExpress.Diagram.Core
Assembly: DevExpress.Diagram.v24.1.Core.dll
NuGet Package: DevExpress.Diagram.Core
Declaration
public virtual void Execute<T>(
DiagramCommand<T> command,
T parameter,
IMouseArgs args = null
)
Parameters
Name | Type | Description |
---|---|---|
command | DevExpress.Diagram.Core.DiagramCommand<T> | A diagram command to be executed. |
parameter | T | Data used by the command. If the command does not require data to be passed, this object can be set to a null reference. |
Optional Parameters
Name | Type | Default |
---|---|---|
args | DevExpress.Diagram.Core.Native.IMouseArgs | null |
Type Parameters
Name |
---|
T |
See Also