Compartilhar via


TabbedPage.SetToolbarPlacement Method

Definition

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

config
IPlatformElementConfiguration<Android,TabbedPage>

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