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)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Gets the navigation bar height for the specified element.

public:
 static int GetBarHeight(Microsoft::Maui::Controls::BindableObject ^ element);
public static int GetBarHeight (Microsoft.Maui.Controls.BindableObject element);
static member GetBarHeight : Microsoft.Maui.Controls.BindableObject -> int
Public Function GetBarHeight (element As BindableObject) As Integer

Parameters

element
BindableObject

The element whose bar height to get.

Returns

The new bar height.

Applies to

GetBarHeight(IPlatformElementConfiguration<Android,NavigationPage>)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Gets the navigation bar height for the specified element.

public:
[System::Runtime::CompilerServices::Extension]
 static int GetBarHeight(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::NavigationPage ^> ^ config);
public static int GetBarHeight (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.NavigationPage> config);
static member GetBarHeight : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.NavigationPage> -> int
<Extension()>
Public Function GetBarHeight (config As IPlatformElementConfiguration(Of Android, NavigationPage)) As Integer

Parameters

config
IPlatformElementConfiguration<Android,NavigationPage>

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

Returns

The new bar height.

Applies to