IToolbarDrawerToggleVisible Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |