共用方式為


DatePicker.CalendarView Property

Definition

Returns the CalendarView used by this picker.

public virtual Android.Widget.CalendarView? CalendarView { [Android.Runtime.Register("getCalendarView", "()Landroid/widget/CalendarView;", "GetGetCalendarViewHandler")] get; }
[<get: Android.Runtime.Register("getCalendarView", "()Landroid/widget/CalendarView;", "GetGetCalendarViewHandler")>]
member this.CalendarView : Android.Widget.CalendarView

Property Value

the calendar view

Attributes

Remarks

Returns the CalendarView used by this picker.

<strong>Note:</strong> This method throws an UnsupportedOperationException 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.getCalendarView().

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