Skip to main content

Button

Description​

Use Button for actions. Choose its Accent appearance for the primary action and Subtle for a less prominent command.

Button in light mode Button in dark mode

Disabled state​

Button disabled in light mode Button disabled in dark mode

Blue accent​

Button blue accent in light mode Button blue accent in dark mode

Orange accent​

Button orange accent in light mode Button orange accent in dark mode

Example usage​

<fluence:Button Content="Accent style button" Appearance="Accent" />

Key properties​

PropertyDefaultPurpose
AppearanceStandardSelects the button emphasis.
IconnullOptional icon content.
IconPlacementLeftPlaces the icon relative to the label.
CornerRadius4Rounds the button surface.

State and behavior​

When string content is truncated, Button can show the full text in an automatic tooltip. A tooltip supplied by the application takes precedence.

Appearance changes emphasis. Pointer-over, pressed, keyboard focus, and disabled states change the surface.

Additional behavior​

ControlAppearance selects the visual emphasis for supported controls. The gallery's Buttons and Selection pages show the variants. For a primary command, Appearance="Accent" is the common choice.

Events​

The inherited Click event reports activation.

Reference​