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 |
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
The platform configuration for the element whose bar height to get.
Returns
System.Int32
The new bar height.