NavigationPage.SetBarHeight 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
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
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
.NET MAUI
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기