Button
Properties
Command
Command invoked on tap; its CanExecute drives the enabled state.
Type: ICommand?
CommandParameter
The parameter passed to Command.
Type: object?
Icon
The local icon shown alongside the text, or null for none.
Type: Bindable<ImageSource?>
IconPlacement
Where the icon sits relative to the text.
Type: IconPlacement
IconSize
The SF Symbol icon's point size, or NaN to match the size class. Other images keep their intrinsic size.
Type: double
IconSpacing
Points between the icon (or spinner) and the text.
Type: double
IsDestructive
Styles the button red, for destructive actions.
Type: bool
IsLoading
Shows a spinner in place of the icon while true. Bind it to a command's running state.
Kind
The button's native style: plain, gray, tinted or filled.
Type: ButtonStyle
Menu
Menu entries shown on tap instead of invoking Command. Empty for a plain button.
Type: IList<MenuAction>
Padding
Padding around the content, or null for the size class default.
Type: Thickness?
SelectsFromMenu
When true the Menu acts as a popup picker: choosing an entry shows it as the button's title and fires its command.
Type: bool
Size
The built-in size class.
Type: ButtonSize
Subtitle
Smaller text shown under the title, or null for none.
Text
The button's title text.