Page.GetToolbarPlacement 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
GetToolbarPlacement(BindableObject) |
Returns a value that controls the placement of the toolbar. |
GetToolbarPlacement(IPlatformElementConfiguration<Windows,Page>) |
Returns a value that controls the placement of the toolbar. |
GetToolbarPlacement(BindableObject)
- Source:
- Page.cs
- Source:
- Page.cs
Returns a value that controls the placement of the toolbar.
public:
static Microsoft::Maui::Controls::PlatformConfiguration::WindowsSpecific::ToolbarPlacement GetToolbarPlacement(Microsoft::Maui::Controls::BindableObject ^ element);
public static Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ToolbarPlacement GetToolbarPlacement (Microsoft.Maui.Controls.BindableObject element);
static member GetToolbarPlacement : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ToolbarPlacement
Public Function GetToolbarPlacement (element As BindableObject) As ToolbarPlacement
Parameters
- element
- BindableObject
The platform specific element on which to perform the operation.
Returns
A value that controls the placement of the toolbar.
Applies to
GetToolbarPlacement(IPlatformElementConfiguration<Windows,Page>)
- Source:
- Page.cs
- Source:
- Page.cs
Returns a value that controls the placement of the toolbar.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::PlatformConfiguration::WindowsSpecific::ToolbarPlacement GetToolbarPlacement(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::Page ^> ^ config);
public static Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ToolbarPlacement GetToolbarPlacement (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.Page> config);
static member GetToolbarPlacement : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.Page> -> Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ToolbarPlacement
<Extension()>
Public Function GetToolbarPlacement (config As IPlatformElementConfiguration(Of Windows, Page)) As ToolbarPlacement
Parameters
- config
- IPlatformElementConfiguration<Windows,Page>
The platform specific configuration that contains the element on which to perform the operation.
Returns
A value that controls the placement of the toolbar.