共用方式為


DatePicker.CalendarViewShown Property

Definition

Returns whether the CalendarView is shown. -or- Sets whether the CalendarView is shown.

public virtual bool CalendarViewShown { [Android.Runtime.Register("getCalendarViewShown", "()Z", "GetGetCalendarViewShownHandler")] get; [Android.Runtime.Register("setCalendarViewShown", "(Z)V", "GetSetCalendarViewShown_ZHandler")] set; }
[<get: Android.Runtime.Register("getCalendarViewShown", "()Z", "GetGetCalendarViewShownHandler")>]
[<set: Android.Runtime.Register("setCalendarViewShown", "(Z)V", "GetSetCalendarViewShown_ZHandler")>]
member this.CalendarViewShown : bool with get, set

Property Value

true if the calendar view is shown

Attributes

Remarks

Property getter documentation:

Returns whether the CalendarView is 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.getCalendarViewShown().

Property setter documentation:

Sets whether the CalendarView is shown.

<strong>Note:</strong> 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.setCalendarViewShown(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

See also