Skip to content

AppBar class

Defined in

Namespace: CrissCross.Avalonia.UI.Controls Assembly: CrissCross.Avalonia.UI.dll Full name: CrissCross.Avalonia.UI.Controls.AppBar Modifiers: public

Summary

        A bottom application bar that can show and hide with animation, containing left and right content areas.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471

Class hierarchy
classDiagram
class AppBar
class TemplatedControl
TemplatedControl <|-- AppBar

Inherits from: TemplatedControl

Constructors

NameSummary
.ctorInitializes a new instance of the [AppBar](# class.

Properties

NameSummary
AppBarEnabledGets or sets a value indicating whether the application bar is enabled.
AppBarIsStickyGets or sets a value indicating whether the application bar stays open until explicitly closed.
AppBarLeftGets or sets the left-aligned content items.
AppBarRightGets or sets the right-aligned content items.
AppBarHeightGets or sets the height of the application bar when expanded.
IsOpenGets or sets a value indicating whether the application bar is open.

Fields

NameSummary
static AppBarEnabledPropertyProperty for [AppBarEnabled](#
static AppBarIsStickyPropertyProperty for [AppBarIsSticky](#
static AppBarLeftPropertyProperty for [AppBarLeft](#
static AppBarRightPropertyProperty for [AppBarRight](#
static AppBarHeightPropertyProperty for [AppBarHeight](#
static IsOpenPropertyProperty for [IsOpen](#

Methods

NameSummary
ShowAppBarShows the application bar.
HideAppBarHides the application bar.
OnApplyTemplateCalled when the control's template is applied. In simple terms, this means the method is called just before the control is displayed.
OnPointerEnteredInvoked when an unhandled PointerEnteredEvent reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
OnPointerExitedInvoked when an unhandled PointerExitedEvent reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
OnPointerPressedInvoked when an unhandled PointerPressedEvent reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Inherited members