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

CommandBarButton

Namespace: FluentAvalonia.UI.Controls

Represents a button control that can be displayed in a CommandBar

C#

public class CommandBarButton : Button


Xaml

<ui:CommandBarButton />


Required Template Parts

None :)


Pseudoclasses

:icon, :label, :compact, :flyout, :submenuopen, :overflow, :hotkey, :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.CommandBarButton.DynamicOverflowOrder` property
IconSource Gets or sets the graphic content of the app bar toggle button.
IconSourceProperty Defines the `Icon` property
IsCompactProperty Defines the `FluentAvalonia.UI.Controls.CommandBarButton.IsCompact` property
IsInOverflowProperty Defines the `FluentAvalonia.UI.Controls.CommandBarButton.IsInOverflow` property
Label Gets or sets the text description displayed on the app bar toggle button.
LabelProperty Defines the `FluentAvalonia.UI.Controls.CommandBarButton.Label` property
TemplateSettings Gets the template settings for this CommandBarButton
TemplateSettingsProperty Defines the `FluentAvalonia.UI.Controls.CommandBarButton.TemplateSettings` property


Events


Methods