Skip to main content
All docs
V19.2

ButtonInfo.CommandParameter Property

Gets or sets a parameter to pass to the ButtonInfo.Command property. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

Declaration

public object CommandParameter { get; set; }

Property Value

Type Description
Object

An object that represents the parameter to pass to the command.

Remarks

To specify the command associated with the button, use the ButtonInfo.Command property. If the command should not be executed on the button, but on another element, specify the required element via the ButtonInfo.CommandTarget property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CommandParameter property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also