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에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET MAUI