共用方式為


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>

參數

傳回

適用於