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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI