Share via


SearchBar.SetSearchBarStyle Method

Definition

Overloads

SetSearchBarStyle(BindableObject, UISearchBarStyle)
SetSearchBarStyle(IPlatformElementConfiguration<iOS,SearchBar>, UISearchBarStyle)

SetSearchBarStyle(BindableObject, UISearchBarStyle)

Source:
SearchBar.cs
Source:
SearchBar.cs
public:
 static void SetSearchBarStyle(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::UISearchBarStyle style);
public static void SetSearchBarStyle (Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UISearchBarStyle style);
static member SetSearchBarStyle : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UISearchBarStyle -> unit
Public Sub SetSearchBarStyle (element As BindableObject, style As UISearchBarStyle)

Parameters

element
BindableObject

Applies to

SetSearchBarStyle(IPlatformElementConfiguration<iOS,SearchBar>, UISearchBarStyle)

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

Parameters

Returns

Applies to