語言

SlidingDrawer 建構函式

定義

多載

名稱 Description
SlidingDrawer(Context, IAttributeSet)
已淘汰.

從 XML 定義的指定屬性集合建立新的滑動抽屜。

SlidingDrawer(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

SlidingDrawer(Context, IAttributeSet, Int32)
已淘汰.

從 XML 定義的指定屬性集合建立新的滑動抽屜。

SlidingDrawer(Context, IAttributeSet, Int32, Int32)
已淘汰.

從 XML 定義的指定屬性集合建立新的滑動抽屜。

SlidingDrawer(Context, IAttributeSet)

警告

deprecated

從 XML 定義的指定屬性集合建立新的滑動抽屜。

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

參數

context
Context

應用程式的環境。

attrs
IAttributeSet

屬性由 XML 定義。

屬性

備註

從 XML 定義的指定屬性集合建立新的滑動抽屜。

Java 文件 android.widget.SlidingDrawer.SlidingDrawer(android.content.Context, android.util.AttributeSet)。

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

適用於

SlidingDrawer(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

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

參數

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

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

適用於

SlidingDrawer(Context, IAttributeSet, Int32)

警告

deprecated

從 XML 定義的指定屬性集合建立新的滑動抽屜。

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

參數

context
Context

應用程式的環境。

attrs
IAttributeSet

屬性由 XML 定義。

defStyleAttr
Int32

目前主題中的一個屬性,包含對提供該視圖預設值的樣式資源的參考。 可以是0,不用找預設值。

屬性

備註

從 XML 定義的指定屬性集合建立新的滑動抽屜。

Java 文件 android.widget.SlidingDrawer.SlidingDrawer(android.content.Context, android.util.AttributeSet, int)。

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

適用於

SlidingDrawer(Context, IAttributeSet, Int32, Int32)

警告

deprecated

從 XML 定義的指定屬性集合建立新的滑動抽屜。

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

參數

context
Context

應用程式的環境。

attrs
IAttributeSet

屬性由 XML 定義。

defStyleAttr
Int32

目前主題中的一個屬性,包含對提供該視圖預設值的樣式資源的參考。 可以是0,不用找預設值。

defStyleRes
Int32

一個樣式資源的資源識別碼,提供該視圖的預設值,僅在 defStyleAttr 為 0 或無法在主題中找到時使用。 可以是0,不用找預設值。

屬性

備註

從 XML 定義的指定屬性集合建立新的滑動抽屜。

Java 文件 android.widget.SlidingDrawer.SlidingDrawer(android.content.Context, android.util.AttributeSet, int, int)。

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

適用於