Skip to main content

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.v23.2.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