Table of Contents

Class ScaffoldToolbarOverflowButton

Namespace
Nalu
Assembly
Nalu.Maui.Scaffold.dll

The nav bar overflow (⋮) button: visible while the page has Secondary toolbar items — or, inside a ScaffoldToolbarItemsView, while primary items had to fold — it presents them in a ScaffoldToolbarOverflowView anchored below itself (a second tap, the scrim or the system back dismiss it; a navigation closes it like any overlay). Drop it anywhere inside a custom nav bar — it binds to the inherited ScaffoldNavBarContext. Style it like every glyph button (ScaffoldNavBarButtonBase).

public sealed class ScaffoldToolbarOverflowButton : ScaffoldNavBarButtonBase, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, IBorderView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, IBorderStroke, IStroke
Inheritance
ScaffoldToolbarOverflowButton
Implements
Inherited Members
Extension Methods

Constructors

ScaffoldToolbarOverflowButton()

Initializes the overflow button (built-in ⋮ glyph).

public ScaffoldToolbarOverflowButton()

Properties

IsOpen

Gets whether the overflow menu is presented (or being presented).

public bool IsOpen { get; }

Property Value

bool

Methods

OnBindingContextChanged()

Invoked whenever the binding context of the View changes.

protected override void OnBindingContextChanged()

Remarks

This method can be overridden to add class handling for this event. Overrides must call the base method.

ToggleAsync()

Opens the overflow menu, or closes it when it is presented.

public Task ToggleAsync()

Returns

Task