Language

IToolbarDrawerToggleVisible Interface

Definition

Provides the visibility of the drawer (flyout) toggle affordance for an IToolbar, commonly rendered as a "hamburger" button in the toolbar's navigation slot.

public interface class IToolbarDrawerToggleVisible
public interface IToolbarDrawerToggleVisible
type IToolbarDrawerToggleVisible = interface
Public Interface IToolbarDrawerToggleVisible
Derived

Remarks

This is a separate optional interface to preserve compatibility for existing IToolbar implementations, including netstandard2.0 targets where adding the member to the existing interface would require implementers to add it.

Consume it by pattern matching on an IToolbar: if (toolbar is IToolbarDrawerToggleVisible { DrawerToggleVisible: true }). A toolbar that does not implement this interface has no drawer toggle.

Properties

Name Description
DrawerToggleVisible

Gets a value that indicates whether the drawer (flyout) toggle affordance should be displayed in the navigation slot of the toolbar.

Applies to