Share via


NavigationPage.SetBarHeight Methode

Definition

Überlädt

SetBarHeight(BindableObject, Int32)

Legt den neuen Wert der Leistenhöhe für das Element fest.

SetBarHeight(IPlatformElementConfiguration<Android,NavigationPage>, Int32)

Legt den neuen Wert der Leistenhöhe für das Element fest und gibt ein dynamisches API-Objekt zurück.

SetBarHeight(BindableObject, Int32)

Legt den neuen Wert der Leistenhöhe für das Element fest.

public static void SetBarHeight (Xamarin.Forms.BindableObject element, int value);
static member SetBarHeight : Xamarin.Forms.BindableObject * int -> unit

Parameter

element
BindableObject

Das Element, dessen Leistenhöhe festgelegt werden soll.

value
System.Int32

Der neue Leistenhöhenwert.

Gilt für:

SetBarHeight(IPlatformElementConfiguration<Android,NavigationPage>, Int32)

Legt den neuen Wert der Leistenhöhe für das Element fest und gibt ein dynamisches API-Objekt zurück.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.NavigationPage> SetBarHeight (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.NavigationPage> config, int value);
static member SetBarHeight : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.NavigationPage> * int -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.NavigationPage>

Parameter

config
IPlatformElementConfiguration<Android,NavigationPage>

Die Plattformkonfiguration für das Element, dessen Leistenhöhe festgelegt werden soll.

value
System.Int32

Der neue Leistenhöhenwert.

Gibt zurück

Ein Fluent-Objekt, für das der Entwickler möglicherweise weitere Methodenaufrufe durchführt.

Gilt für: