Skip to main content

CommandParameter Property

Gets or sets the parameter to pass to the Command property of a MenuItem.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public Object? CommandParameter { get; set; }

Property Value

Object

Implements

ICommandSource.CommandParameter

See Also

Reference

MenuItem Class
Avalonia.Controls Namespace