SearchBar.SetSearchBarStyle 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
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
- style
- UISearchBarStyle
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
- style
- UISearchBarStyle
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.