Skip to main content
A newer version of this page is available. .

EventToCommandBase.Command Property

Gets or sets the command to invoke when the associated event is raised. This is a dependency property.

Namespace: DevExpress.WinUI.Core

Assembly: DevExpress.WinUI.Core.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(null, Handler = "OnCommandChanged")]
public ICommand Command { get; set; }

Property Value

Type Description
ICommand

The command to invoke when the associated event is raised.

Remarks

Use the CommandParameter property to specify the Command‘s parameters.

Use the EventToCommandBase.CommandTarget property to specify an element on which to raise the command.

See Also