共用方式為


SearchBar.GetSearchBarStyle Method

Definition

Overloads

GetSearchBarStyle(BindableObject)
GetSearchBarStyle(IPlatformElementConfiguration<iOS,SearchBar>)

GetSearchBarStyle(BindableObject)

Source:
SearchBar.cs
Source:
SearchBar.cs
public:
 static Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::UISearchBarStyle GetSearchBarStyle(Microsoft::Maui::Controls::BindableObject ^ element);
public static Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UISearchBarStyle GetSearchBarStyle (Microsoft.Maui.Controls.BindableObject element);
static member GetSearchBarStyle : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UISearchBarStyle
Public Function GetSearchBarStyle (element As BindableObject) As UISearchBarStyle

Parameters

element
BindableObject

Returns

Applies to

GetSearchBarStyle(IPlatformElementConfiguration<iOS,SearchBar>)

Source:
SearchBar.cs
Source:
SearchBar.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::UISearchBarStyle GetSearchBarStyle(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::SearchBar ^> ^ config);
public static Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UISearchBarStyle GetSearchBarStyle (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.SearchBar> config);
static member GetSearchBarStyle : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.SearchBar> -> Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UISearchBarStyle
<Extension()>
Public Function GetSearchBarStyle (config As IPlatformElementConfiguration(Of iOS, SearchBar)) As UISearchBarStyle

Parameters

Returns

Applies to