NavigationPage.GetBarHeight Method

Definition

Overloads

GetBarHeight(BindableObject)

Gets the navigation bar height for the specified element.

GetBarHeight(IPlatformElementConfiguration<Android,NavigationPage>)

Gets the navigation bar height for the specified element.

GetBarHeight(BindableObject)

Gets the navigation bar height for the specified element.

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

Parameters

element
BindableObject

The element whose bar height to get.

Returns

System.Int32

The new bar height.

Applies to

GetBarHeight(IPlatformElementConfiguration<Android,NavigationPage>)

Gets the navigation bar height for the specified element.

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

Parameters

config
IPlatformElementConfiguration<Android,NavigationPage>

The platform configuration for the element whose bar height to get.

Returns

System.Int32

The new bar height.

Applies to