Compartir a través de


Switch.ShowText Property

Definition

Sets whether the on/off text should be displayed.

public virtual bool ShowText { [Android.Runtime.Register("getShowText", "()Z", "GetGetShowTextHandler")] get; [Android.Runtime.Register("setShowText", "(Z)V", "GetSetShowText_ZHandler")] set; }
[<get: Android.Runtime.Register("getShowText", "()Z", "GetGetShowTextHandler")>]
[<set: Android.Runtime.Register("setShowText", "(Z)V", "GetSetShowText_ZHandler")>]
member this.ShowText : bool with get, set

Property Value

whether the on/off text should be displayed

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.Switch.getShowText().

Property setter documentation:

Sets whether the on/off text should be displayed.

Java documentation for android.widget.Switch.setShowText(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