Share via


NavigationPage.SetBarHeight Method

Definition

Overloads

SetBarHeight(BindableObject, Int32)

Sets the new bar height value for the element.

SetBarHeight(IPlatformElementConfiguration<Android,NavigationPage>, Int32)

Sets the new bar height value for the element and returns a fluid API object.

SetBarHeight(BindableObject, Int32)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Sets the new bar height value for the element.

public:
 static void SetBarHeight(Microsoft::Maui::Controls::BindableObject ^ element, int value);
public static void SetBarHeight (Microsoft.Maui.Controls.BindableObject element, int value);
static member SetBarHeight : Microsoft.Maui.Controls.BindableObject * int -> unit
Public Sub SetBarHeight (element As BindableObject, value As Integer)

Parameters

element
BindableObject

The element whose bar height to set.

value
Int32

The new bar height value.

Applies to

SetBarHeight(IPlatformElementConfiguration<Android,NavigationPage>, Int32)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Sets the new bar height value for the element and returns a fluid API object.

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

Parameters

config
IPlatformElementConfiguration<Android,NavigationPage>

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

value
Int32

The new bar height value.

Returns

A fluent object on which the developer may make further method calls.

Applies to