共用方式為


EditText.SetStyleShortcutsEnabled(Boolean) Method

Definition

Enables styls shortcuts, e.

[Android.Runtime.Register("setStyleShortcutsEnabled", "(Z)V", "GetSetStyleShortcutsEnabled_ZHandler", ApiSince=34)]
public virtual void SetStyleShortcutsEnabled (bool enabled);
[<Android.Runtime.Register("setStyleShortcutsEnabled", "(Z)V", "GetSetStyleShortcutsEnabled_ZHandler", ApiSince=34)>]
abstract member SetStyleShortcutsEnabled : bool -> unit
override this.SetStyleShortcutsEnabled : bool -> unit

Parameters

enabled
Boolean

true for enabled, false for disabled.

Attributes

Remarks

Enables styls shortcuts, e.g. Ctrl+B for making text bold.

Java documentation for android.widget.EditText.setStyleShortcutsEnabled(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