DatePicker.Init Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initialize the state.
[Android.Runtime.Register("init", "(IIILandroid/widget/DatePicker$OnDateChangedListener;)V", "GetInit_IIILandroid_widget_DatePicker_OnDateChangedListener_Handler")]
public virtual void Init (int year, int monthOfYear, int dayOfMonth, Android.Widget.DatePicker.IOnDateChangedListener? onDateChangedListener);
[<Android.Runtime.Register("init", "(IIILandroid/widget/DatePicker$OnDateChangedListener;)V", "GetInit_IIILandroid_widget_DatePicker_OnDateChangedListener_Handler")>]
abstract member Init : int * int * int * Android.Widget.DatePicker.IOnDateChangedListener -> unit
override this.Init : int * int * int * Android.Widget.DatePicker.IOnDateChangedListener -> unit
Parameters
- year
- Int32
The initial year.
- monthOfYear
- Int32
The initial month <strong>starting from zero</strong>.
- dayOfMonth
- Int32
The initial day of the month.
- onDateChangedListener
- DatePicker.IOnDateChangedListener
How user is notified date is changed by user, can be null.
- Attributes
Remarks
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.