Share via


NavigationPage.GetBarHeight Methode

Definition

Überlädt

GetBarHeight(BindableObject)

Ruft die Höhe der Navigationsleiste für das angegebene element ab.

GetBarHeight(IPlatformElementConfiguration<Android,NavigationPage>)

Ruft die Höhe der Navigationsleiste für das angegebene element ab.

GetBarHeight(BindableObject)

Ruft die Höhe der Navigationsleiste für das angegebene element ab.

public static int GetBarHeight (Xamarin.Forms.BindableObject element);
static member GetBarHeight : Xamarin.Forms.BindableObject -> int

Parameter

element
BindableObject

Das Element, dessen Leistenhöhe abgerufen werden soll.

Gibt zurück

System.Int32

Die neue Leistenhöhe.

Gilt für:

GetBarHeight(IPlatformElementConfiguration<Android,NavigationPage>)

Ruft die Höhe der Navigationsleiste für das angegebene element ab.

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

Parameter

config
IPlatformElementConfiguration<Android,NavigationPage>

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

Gibt zurück

System.Int32

Die neue Leistenhöhe.

Gilt für: