Share via


Page.SetToolbarPlacement Method

Definition

Overloads

SetToolbarPlacement(BindableObject, ToolbarPlacement)

Sets a value that controls the placement of the toolbar.

SetToolbarPlacement(IPlatformElementConfiguration<Windows,Page>, ToolbarPlacement)

Sets a value that controls the placement of the toolbar.

SetToolbarPlacement(BindableObject, ToolbarPlacement)

Sets a value that controls the placement of the toolbar.

public static void SetToolbarPlacement (Xamarin.Forms.BindableObject element, Xamarin.Forms.PlatformConfiguration.WindowsSpecific.ToolbarPlacement toolbarPlacement);
static member SetToolbarPlacement : Xamarin.Forms.BindableObject * Xamarin.Forms.PlatformConfiguration.WindowsSpecific.ToolbarPlacement -> unit

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

toolbarPlacement
ToolbarPlacement

The new toolbar placement.

Applies to

SetToolbarPlacement(IPlatformElementConfiguration<Windows,Page>, ToolbarPlacement)

Sets a value that controls the placement of the toolbar.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.Page> SetToolbarPlacement (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.Page> config, Xamarin.Forms.PlatformConfiguration.WindowsSpecific.ToolbarPlacement value);
static member SetToolbarPlacement : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.Page> * Xamarin.Forms.PlatformConfiguration.WindowsSpecific.ToolbarPlacement -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.Page>

Parameters

config
IPlatformElementConfiguration<Windows,Page>

The platform specific configuration that contains the element on which to perform the operation.

value
ToolbarPlacement

The new property value to assign.

Returns

The updated configuration object on which developers can make successive method calls.

Applies to