Skip to content

MenuItem.CommandDataProperty field

The value this placement hands its command as the invocation argument, so several items can share one command and differ only in what they pass. Null lets the argument the menu captured when it opened (the item it opened over) stand in.

public static readonly MewProperty<object?> CommandDataProperty;