TabbedPage.SetToolbarPlacement 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
SetToolbarPlacement(BindableObject, ToolbarPlacement) |
Sets the toolbar placement. |
SetToolbarPlacement(IPlatformElementConfiguration<Android,TabbedPage>, ToolbarPlacement) |
Sets the toolbar placement. |
SetToolbarPlacement(BindableObject, ToolbarPlacement)
- Source:
- TabbedPage.cs
- Source:
- TabbedPage.cs
Sets the toolbar placement.
public:
static void SetToolbarPlacement(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Controls::PlatformConfiguration::AndroidSpecific::ToolbarPlacement value);
public static void SetToolbarPlacement (Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.ToolbarPlacement value);
static member SetToolbarPlacement : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.ToolbarPlacement -> unit
Public Sub SetToolbarPlacement (element As BindableObject, value As ToolbarPlacement)
Parameters
- element
- BindableObject
The platform specific element whose value to set.
- value
- ToolbarPlacement
The new toolbar placement value.
Applies to
SetToolbarPlacement(IPlatformElementConfiguration<Android,TabbedPage>, ToolbarPlacement)
- Source:
- TabbedPage.cs
- Source:
- TabbedPage.cs
Sets the toolbar placement.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::TabbedPage ^> ^ SetToolbarPlacement(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::TabbedPage ^> ^ config, Microsoft::Maui::Controls::PlatformConfiguration::AndroidSpecific::ToolbarPlacement value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.TabbedPage> SetToolbarPlacement (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.TabbedPage> config, Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.ToolbarPlacement value);
static member SetToolbarPlacement : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.TabbedPage> * Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.ToolbarPlacement -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.TabbedPage>
<Extension()>
Public Function SetToolbarPlacement (config As IPlatformElementConfiguration(Of Android, TabbedPage), value As ToolbarPlacement) As IPlatformElementConfiguration(Of Android, TabbedPage)
Parameters
The platform configuration for the platform specific element whose value to set.
- value
- ToolbarPlacement
The new toolbar placement value.
Returns
A fluent object on which the developer can make further method calls.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.