共用方式為


DatePicker.SpinnersShown Property

Definition

Returns whether the spinners are shown. -or- Sets whether the spinners are shown.

public virtual bool SpinnersShown { [Android.Runtime.Register("getSpinnersShown", "()Z", "GetGetSpinnersShownHandler")] get; [Android.Runtime.Register("setSpinnersShown", "(Z)V", "GetSetSpinnersShown_ZHandler")] set; }
[<get: Android.Runtime.Register("getSpinnersShown", "()Z", "GetGetSpinnersShownHandler")>]
[<set: Android.Runtime.Register("setSpinnersShown", "(Z)V", "GetSetSpinnersShown_ZHandler")>]
member this.SpinnersShown : bool with get, set

Property Value

true if the spinners are shown

Attributes

Remarks

Property getter documentation:

Returns whether the spinners are shown.

<strong>Note:</strong> this method returns false when the android.R.styleable#DatePicker_datePickerMode attribute is set to calendar.

This member is deprecated. Not supported by Material-style calendar mode

Java documentation for android.widget.DatePicker.getSpinnersShown().

Property setter documentation:

Sets whether the spinners are shown.

Calling this method has no effect when the android.R.styleable#DatePicker_datePickerMode attribute is set to calendar.

This member is deprecated. Not supported by Material-style calendar mode

Java documentation for android.widget.DatePicker.setSpinnersShown(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