ExtractEditText 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 |
|---|---|
| ExtractEditText(Context) |
Initializes the extracted-text editor without an attribute set. |
| ExtractEditText(Context, IAttributeSet) |
Initializes the extracted-text editor with the default edit-text style attribute. |
| ExtractEditText(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| ExtractEditText(Context, IAttributeSet, Int32) |
Initializes the extracted-text editor with the specified style attribute and a default style resource ID of zero. |
| ExtractEditText(Context, IAttributeSet, Int32, Int32) |
Initializes the extracted-text editor and resolves its styles using the supplied context and attributes. |
ExtractEditText(Context)
Initializes the extracted-text editor without an attribute set.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public ExtractEditText(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.InputMethodServices.ExtractEditText : Android.Content.Context -> Android.InputMethodServices.ExtractEditText
Parameters
- context
- Context
The context used to resolve resources and the view's theme.
- 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
ExtractEditText(Context, IAttributeSet)
Initializes the extracted-text editor with the default edit-text style attribute.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public ExtractEditText(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.InputMethodServices.ExtractEditText : Android.Content.Context * Android.Util.IAttributeSet -> Android.InputMethodServices.ExtractEditText
Parameters
- context
- Context
The context used to resolve resources and the view's theme.
- attrs
- IAttributeSet
The attributes supplied for style resolution, or null if none are supplied.
- 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
ExtractEditText(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected ExtractEditText(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.InputMethodServices.ExtractEditText : nativeint * Android.Runtime.JniHandleOwnership -> Android.InputMethodServices.ExtractEditText
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
ExtractEditText(Context, IAttributeSet, Int32)
Initializes the extracted-text editor with the specified style attribute and a default style resource ID of zero.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")]
public ExtractEditText(Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")>]
new Android.InputMethodServices.ExtractEditText : Android.Content.Context * Android.Util.IAttributeSet * int -> Android.InputMethodServices.ExtractEditText
Parameters
- context
- Context
The context used to resolve resources and the view's theme.
- attrs
- IAttributeSet
The attributes supplied for style resolution, or null if none are supplied.
- defStyleAttr
- Int32
A theme attribute that can provide a default style; zero disables this lookup.
- 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
ExtractEditText(Context, IAttributeSet, Int32, Int32)
Initializes the extracted-text editor and resolves its styles using the supplied context and attributes.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")]
public ExtractEditText(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.InputMethodServices.ExtractEditText : Android.Content.Context * Android.Util.IAttributeSet * int * int -> Android.InputMethodServices.ExtractEditText
Parameters
- context
- Context
The context used to resolve resources and the view's theme.
- attrs
- IAttributeSet
The attributes supplied for style resolution, or null if none are supplied.
- defStyleAttr
- Int32
A theme attribute that can provide a default style; zero disables this lookup.
- defStyleRes
- Int32
The fallback style resource, used if the theme attribute is zero or absent; zero supplies no fallback.
- 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.