GestureOverlayView Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GestureOverlayView(Context) |
Creates a gesture overlay with the specified context. |
| GestureOverlayView(Context, IAttributeSet) |
Creates a gesture overlay with the specified context and XML attributes. |
| GestureOverlayView(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| GestureOverlayView(Context, IAttributeSet, Int32) |
Creates a gesture overlay with a default style attribute. |
| GestureOverlayView(Context, IAttributeSet, Int32, Int32) |
Creates a gesture overlay with a default style attribute and fallback style resource. |
GestureOverlayView(Context)
Creates a gesture overlay with the specified context.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public GestureOverlayView(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Gestures.GestureOverlayView : Android.Content.Context -> Android.Gestures.GestureOverlayView
Parameters
- context
- Context
The context that supplies resources and theme information for the view.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
GestureOverlayView(Context, IAttributeSet)
Creates a gesture overlay with the specified context and XML attributes.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public GestureOverlayView(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Gestures.GestureOverlayView : Android.Content.Context * Android.Util.IAttributeSet -> Android.Gestures.GestureOverlayView
Parameters
- context
- Context
The context that supplies resources and theme information for the view.
- attrs
- IAttributeSet
The XML attributes for the view, or null.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
GestureOverlayView(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected GestureOverlayView(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Gestures.GestureOverlayView : nativeint * Android.Runtime.JniHandleOwnership -> Android.Gestures.GestureOverlayView
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
GestureOverlayView(Context, IAttributeSet, Int32)
Creates a gesture overlay with a default style attribute.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")]
public GestureOverlayView(Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")>]
new Android.Gestures.GestureOverlayView : Android.Content.Context * Android.Util.IAttributeSet * int -> Android.Gestures.GestureOverlayView
Parameters
- context
- Context
The context that supplies resources and theme information for the view.
- attrs
- IAttributeSet
The XML attributes for the view, or null.
- defStyleAttr
- Int32
The theme attribute that supplies the default view style, or zero to omit a default style attribute.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
GestureOverlayView(Context, IAttributeSet, Int32, Int32)
Creates a gesture overlay with a default style attribute and fallback style resource.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")]
public GestureOverlayView(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.Gestures.GestureOverlayView : Android.Content.Context * Android.Util.IAttributeSet * int * int -> Android.Gestures.GestureOverlayView
Parameters
- context
- Context
The context that supplies resources and theme information for the view.
- attrs
- IAttributeSet
The XML attributes for the view, or null.
- defStyleAttr
- Int32
The theme attribute that supplies the default view style, or zero to omit a default style attribute.
- defStyleRes
- Int32
The default style resource used if defStyleAttr is zero or cannot be found in the theme, or zero to omit this default.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.