Page.SetToolbarDynamicOverflowEnabled Method
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.
Overloads
| SetToolbarDynamicOverflowEnabled(BindableObject, Boolean) |
Sets a value that indicates whether toolbar items automatically move to the overflow menu when space is limited. |
| SetToolbarDynamicOverflowEnabled(IPlatformElementConfiguration<Windows,Page>, Boolean) |
Sets a value that indicates whether toolbar items automatically move to the overflow menu when space is limited. |
SetToolbarDynamicOverflowEnabled(BindableObject, Boolean)
- Source:
- Page.cs
- Source:
- Page.cs
- Source:
- Page.cs
Sets a value that indicates whether toolbar items automatically move to the overflow menu when space is limited.
public:
static void SetToolbarDynamicOverflowEnabled(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetToolbarDynamicOverflowEnabled(Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetToolbarDynamicOverflowEnabled : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetToolbarDynamicOverflowEnabled (element As BindableObject, value As Boolean)
Parameters
- element
- BindableObject
A page, the VisualElement that occupies the entire screen.
- value
- Boolean
A value that indicates whether toolbar items automatically move to the overflow menu when space is limited
Applies to
SetToolbarDynamicOverflowEnabled(IPlatformElementConfiguration<Windows,Page>, Boolean)
- Source:
- Page.cs
- Source:
- Page.cs
- Source:
- Page.cs
Sets a value that indicates whether toolbar items automatically move to the overflow menu when space is limited.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::Page ^> ^ SetToolbarDynamicOverflowEnabled(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::Page ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.Page> SetToolbarDynamicOverflowEnabled(this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.Page> config, bool value);
static member SetToolbarDynamicOverflowEnabled : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.Page> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.Page>
<Extension()>
Public Function SetToolbarDynamicOverflowEnabled (config As IPlatformElementConfiguration(Of Windows, Page), value As Boolean) As IPlatformElementConfiguration(Of Windows, Page)
Parameters
- config
- IPlatformElementConfiguration<Windows,Page>
The platform specific configuration that contains the element on which to perform the operation.
- value
- Boolean
A value that indicates whether toolbar items automatically move to the overflow menu when space is limited
Returns
The updated configuration object on which developers can make successive method calls.