Condividi tramite


View.AutoHandwritingEnabled Property

Definition

Return whether the View allows automatic handwriting initiation. -or- Set whether this view enables automatic handwriting initiation.

public virtual bool AutoHandwritingEnabled { [Android.Runtime.Register("isAutoHandwritingEnabled", "()Z", "GetIsAutoHandwritingEnabledHandler", ApiSince=33)] get; [Android.Runtime.Register("setAutoHandwritingEnabled", "(Z)V", "GetSetAutoHandwritingEnabled_ZHandler", ApiSince=33)] set; }
[<get: Android.Runtime.Register("isAutoHandwritingEnabled", "()Z", "GetIsAutoHandwritingEnabledHandler", ApiSince=33)>]
[<set: Android.Runtime.Register("setAutoHandwritingEnabled", "(Z)V", "GetSetAutoHandwritingEnabled_ZHandler", ApiSince=33)>]
member this.AutoHandwritingEnabled : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Return whether the View allows automatic handwriting initiation. Returns true if automatic handwriting initiation is enabled, and verse visa.

Java documentation for android.view.View.isAutoHandwritingEnabled().

Property setter documentation:

Set whether this view enables automatic handwriting initiation.

For a view with an active InputConnection, if auto handwriting is enabled then stylus movement within its view boundary will automatically trigger the handwriting mode. Check android.view.inputmethod.InputMethodManager#startStylusHandwriting(View) for more details about handwriting mode.

If the View wants to initiate handwriting mode by itself, it can set this field to false and call android.view.inputmethod.InputMethodManager#startStylusHandwriting(View) when there is stylus movement detected.

Note that this attribute has no effect on the View's children. For example, if a ViewGroup disables auto handwriting but its children set auto handwriting to true, auto handwriting will still work for the children, and vice versa.

Java documentation for android.view.View.setAutoHandwritingEnabled(boolean).

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