EdgeEffect 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| EdgeEffect(Context) |
使用适用于提供上下文的主题构造新的 EdgeEffect。 |
| EdgeEffect(Context, IAttributeSet) |
使用适用于提供上下文的主题构造新的 EdgeEffect。 |
| EdgeEffect(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
EdgeEffect(Context)
使用适用于提供上下文的主题构造新的 EdgeEffect。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public EdgeEffect(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Widget.EdgeEffect : Android.Content.Context -> Android.Widget.EdgeEffect
参数
- context
- Context
用于为 EdgeEffect 提供主题和资源信息的上下文
- 属性
注解
使用适用于提供上下文的主题构造新的 EdgeEffect。
Java文档android.widget.EdgeEffect.EdgeEffect(android.content.Context)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
EdgeEffect(Context, IAttributeSet)
使用适用于提供上下文的主题构造新的 EdgeEffect。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "", ApiSince=31)]
public EdgeEffect(Android.Content.Context context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "", ApiSince=31)>]
new Android.Widget.EdgeEffect : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.EdgeEffect
参数
- context
- Context
用于为 EdgeEffect 提供主题和资源信息的上下文
- attrs
- IAttributeSet
正在膨胀视图的 XML 标记的属性
- 属性
注解
使用适用于提供上下文的主题构造新的 EdgeEffect。
Java文档android.widget.EdgeEffect.EdgeEffect(android.content.Context, android.util.AttributeSet)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
EdgeEffect(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected EdgeEffect(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.EdgeEffect : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.EdgeEffect
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。