ScaleGestureDetector.StylusScaleEnabled Property

Definition

Return whether the stylus scale gesture, in which the user uses a stylus and presses the button, should perform scaling. -or- Sets whether the associates OnScaleGestureListener should receive onScale callbacks when the user uses a stylus and presses the button.

public virtual bool StylusScaleEnabled { [Android.Runtime.Register("isStylusScaleEnabled", "()Z", "GetIsStylusScaleEnabledHandler", ApiSince=23)] get; [Android.Runtime.Register("setStylusScaleEnabled", "(Z)V", "GetSetStylusScaleEnabled_ZHandler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("isStylusScaleEnabled", "()Z", "GetIsStylusScaleEnabledHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setStylusScaleEnabled", "(Z)V", "GetSetStylusScaleEnabled_ZHandler", ApiSince=23)>]
member this.StylusScaleEnabled : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Return whether the stylus scale gesture, in which the user uses a stylus and presses the button, should perform scaling. #setStylusScaleEnabled(boolean)

Java documentation for android.view.ScaleGestureDetector.isStylusScaleEnabled().

Property setter documentation:

Sets whether the associates OnScaleGestureListener should receive onScale callbacks when the user uses a stylus and presses the button. Note that this is enabled by default if the app targets API 23 and newer.

Java documentation for android.view.ScaleGestureDetector.setStylusScaleEnabled(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