Freigeben über


Page.SetToolbarPlacement Methode

Definition

Überlädt

SetToolbarPlacement(BindableObject, ToolbarPlacement)

Legt einen Wert fest, der die Platzierung der Symbolleiste steuert.

SetToolbarPlacement(IPlatformElementConfiguration<Windows,Page>, ToolbarPlacement)

Legt einen Wert fest, der die Platzierung der Symbolleiste steuert.

SetToolbarPlacement(BindableObject, ToolbarPlacement)

Legt einen Wert fest, der die Platzierung der Symbolleiste steuert.

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

Parameter

element
BindableObject

Das plattformspezifische Element, für das der Vorgang ausgeführt werden soll.

toolbarPlacement
ToolbarPlacement

Die neue Platzierung der Symbolleiste.

Gilt für:

SetToolbarPlacement(IPlatformElementConfiguration<Windows,Page>, ToolbarPlacement)

Legt einen Wert fest, der die Platzierung der Symbolleiste steuert.

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>

Parameter

config
IPlatformElementConfiguration<Windows,Page>

Die plattformspezifische Konfiguration, die das Element enthält, für das der Vorgang ausgeführt werden soll.

value
ToolbarPlacement

Der neue Eigenschaftswert, der zugewiesen werden soll.

Gibt zurück

Das aktualisierte Konfigurationsobjekt, für das Entwickler aufeinander folgende Methodenaufrufe vornehmen können.

Gilt für: