NavigationPage.GetBarHeight Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetBarHeight(BindableObject) |
Gets the navigation bar height for the specified |
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
The platform configuration for the element whose bar height to get.
Returns
The new bar height.