共用方式為


ExpandableListView 建構函式

定義

多載

ExpandableListView(Context)
ExpandableListView(Context, IAttributeSet)
ExpandableListView(IntPtr, JniHandleOwnership)

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

ExpandableListView(Context, IAttributeSet, Int32)
ExpandableListView(Context, IAttributeSet, Int32, Int32)

ExpandableListView(Context)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public ExpandableListView (Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Widget.ExpandableListView : Android.Content.Context -> Android.Widget.ExpandableListView

參數

context
Context
屬性

備註

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

適用於

ExpandableListView(Context, IAttributeSet)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public ExpandableListView (Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Widget.ExpandableListView : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.ExpandableListView

參數

context
Context
屬性

備註

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

適用於

ExpandableListView(IntPtr, JniHandleOwnership)

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

protected ExpandableListView (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.ExpandableListView : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.ExpandableListView

參數

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

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

適用於

ExpandableListView(Context, IAttributeSet, Int32)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")]
public ExpandableListView (Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")>]
new Android.Widget.ExpandableListView : Android.Content.Context * Android.Util.IAttributeSet * int -> Android.Widget.ExpandableListView

參數

context
Context
defStyleAttr
Int32
屬性

備註

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

適用於

ExpandableListView(Context, IAttributeSet, Int32, Int32)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")]
public ExpandableListView (Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr, int defStyleRes);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")>]
new Android.Widget.ExpandableListView : Android.Content.Context * Android.Util.IAttributeSet * int * int -> Android.Widget.ExpandableListView

參數

context
Context
defStyleAttr
Int32
defStyleRes
Int32
屬性

備註

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

適用於