StackView 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
StackView(Context) |
要添加 |
StackView(Context, IAttributeSet) |
要添加 |
StackView(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
StackView(Context, IAttributeSet, Int32) |
要添加 |
StackView(Context, IAttributeSet, Int32, Int32) |
要添加 |
StackView(Context)
要添加
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public StackView (Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Widget.StackView : Android.Content.Context -> Android.Widget.StackView
参数
- context
- Context
- 属性
注解
要添加
适用于 . 的 android.widget.StackView.StackView(android.content.Context)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
StackView(Context, IAttributeSet)
要添加
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public StackView (Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Widget.StackView : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.StackView
参数
- context
- Context
- attrs
- IAttributeSet
- 属性
注解
要添加
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
StackView(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected StackView (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.StackView : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.StackView
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
StackView(Context, IAttributeSet, Int32)
要添加
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")]
public StackView (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.StackView : Android.Content.Context * Android.Util.IAttributeSet * int -> Android.Widget.StackView
参数
- context
- Context
- attrs
- IAttributeSet
- defStyleAttr
- Int32
- 属性
注解
要添加
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
StackView(Context, IAttributeSet, Int32, Int32)
要添加
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")]
public StackView (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.StackView : Android.Content.Context * Android.Util.IAttributeSet * int * int -> Android.Widget.StackView
参数
- context
- Context
- attrs
- IAttributeSet
- defStyleAttr
- Int32
- defStyleRes
- Int32
- 属性
注解
要添加
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。