SearchBar.SetSearchBarStyle 方法

定义

重载

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

SetSearchBarStyle(BindableObject, UISearchBarStyle)

public static void SetSearchBarStyle (Xamarin.Forms.BindableObject element, Xamarin.Forms.PlatformConfiguration.iOSSpecific.UISearchBarStyle style);
static member SetSearchBarStyle : Xamarin.Forms.BindableObject * Xamarin.Forms.PlatformConfiguration.iOSSpecific.UISearchBarStyle -> unit

参数

element
BindableObject

适用于

SetSearchBarStyle(IPlatformElementConfiguration<iOS,SearchBar>, UISearchBarStyle)

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.SearchBar> SetSearchBarStyle (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.SearchBar> config, Xamarin.Forms.PlatformConfiguration.iOSSpecific.UISearchBarStyle style);
static member SetSearchBarStyle : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.SearchBar> * Xamarin.Forms.PlatformConfiguration.iOSSpecific.UISearchBarStyle -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.SearchBar>

参数

返回

适用于