語言

NumberPicker.SetTextColor(Color) 方法

定義

將所有狀態(正常、選取、聚焦)的文字顏色設定為指定顏色。

[Android.Runtime.Register("setTextColor", "(I)V", "GetSetTextColor_IHandler", ApiSince=29)]
public virtual void SetTextColor(Android.Graphics.Color color);
[<Android.Runtime.Register("setTextColor", "(I)V", "GetSetTextColor_IHandler", ApiSince=29)>]
abstract member SetTextColor : Android.Graphics.Color -> unit
override this.SetTextColor : Android.Graphics.Color -> unit

參數

color
Color

顏色值以0xAARRGGBB的形式呈現。

屬性

備註

將所有狀態(正常、選取、聚焦)的文字顏色設定為指定顏色。

Java 文件 android.widget.NumberPicker.setTextColor(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於