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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI