共用方式為


ColorStateList 建構函式

定義

多載

ColorStateList(Int32[][], Int32[])

建立 ColorStateList,以傳回從狀態到色彩的指定對應。

ColorStateList(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

ColorStateList(Int32[][], Int32[])

建立 ColorStateList,以傳回從狀態到色彩的指定對應。

[Android.Runtime.Register(".ctor", "([[I[I)V", "")]
public ColorStateList (int[][]? states, int[]? colors);
[<Android.Runtime.Register(".ctor", "([[I[I)V", "")>]
new Android.Content.Res.ColorStateList : int[][] * int[] -> Android.Content.Res.ColorStateList

參數

states
Int32[][]
colors
Int32[]
屬性

備註

建立 ColorStateList,以傳回從狀態到色彩的指定對應。

android.content.res.ColorStateList.ColorStateList(int[][], int[])Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

ColorStateList(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

protected ColorStateList (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.Res.ColorStateList : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.Res.ColorStateList

參數

javaReference
IntPtr

nativeint

IntPtr,包含 Java Native Interface (JNI) 對象參考。

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於