Skip to main content Link Search Menu Expand Document (external link)

CommandBarToggleButton

Namespace: FluentAvalonia.UI.Controls

Represents a button control that can switch states and be displayed in a CommandBar.

C#

public class CommandBarToggleButton : ToggleButton


Xaml

<ui:CommandBarToggleButton />


Required Template Parts

None :)


Pseudoclasses

:checked, :unchecked, :indeterminate, :flyout-open, :pressed, :disabled, :focus, :focus-visible, :focus-within, :pointerover



Examples and Usage Notes

None yet.


API

Note: Inherited members are not shown


Properties

DynamicOverflowOrderProperty Defines the `FluentAvalonia.UI.Controls.CommandBarToggleButton.DynamicOverflowOrder` property
IconSource Gets or sets the graphic content of the command bar toggle button.
IconSourceProperty Defines the `Icon` property
IsCompactProperty Defines the `FluentAvalonia.UI.Controls.CommandBarToggleButton.IsCompact` property
IsInOverflowProperty Defines the `FluentAvalonia.UI.Controls.CommandBarToggleButton.IsInOverflow` property
Label Gets or sets the text description displayed on the command bar toggle button.
LabelProperty Defines the `FluentAvalonia.UI.Controls.CommandBarToggleButton.Label` property
TemplateSettings Gets the template settings for this CommandBarButton
TemplateSettingsProperty Defines the `FluentAvalonia.UI.Controls.CommandBarToggleButton.TemplateSettings` property


Events


Methods