Entry.SetCursorColor 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetCursorColor(BindableObject, Color) |
設定游標的色彩。 |
SetCursorColor(IPlatformElementConfiguration<iOS,Entry>, Color) |
設定游標的色彩並傳回 fluent 物件。 |
SetCursorColor(BindableObject, Color)
設定游標的色彩。
public static void SetCursorColor (Xamarin.Forms.BindableObject element, Xamarin.Forms.Color value);
static member SetCursorColor : Xamarin.Forms.BindableObject * Xamarin.Forms.Color -> unit
參數
- element
- BindableObject
要設定其游標色彩的元素。
- value
- Color
新的游標色彩。
適用於
SetCursorColor(IPlatformElementConfiguration<iOS,Entry>, Color)
設定游標的色彩並傳回 fluent 物件。
public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Entry> SetCursorColor (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Entry> config, Xamarin.Forms.Color value);
static member SetCursorColor : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Entry> * Xamarin.Forms.Color -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Entry>
參數
- config
- IPlatformElementConfiguration<iOS,Entry>
要設定其游標色彩的元素平台組態。
- value
- Color
新的游標色彩。
傳回
Fluent 物件,開發人員可以對它進行進一步的方法呼叫。