Skip to main content
All docs
V19.2

ButtonInfo.CommandTarget Property

Gets or sets the element on which to execute the associated command. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public IInputElement CommandTarget { get; set; }

Property Value

Type Description
IInputElement

An object implementing the IInputElement interface that represents the element on which to execute a command.

Remarks

To specify the command associated with the button, use the ButtonInfo.Command property. You can also pass a parameter to the command using the ButtonInfo.CommandParameter property.

See Also