Skip to content

ControlExtensions.Command<T> method

Sets the semantic command invoked by the button.

public static T Command<T>(this T button, Command? command,
CommandPresentationMode presentation = CommandPresentationMode.None)
where T : Button

Sets: Button.CommandPresentationMode, CommandSourceControl.Command