C# Class MonoTouch.Dialog.DateTimeElement

Inheritance: StringElement
显示文件 Open project: escoz/MonoMobile.Forms Class Usage Examples

Public Properties

Property Type Description
DateValue DateTime?
datePicker UIDatePicker

Protected Properties

Property Type Description
fmt NSDateFormatter

Public Methods

Method Description
CreatePicker ( ) : UIDatePicker
DateTimeElement ( string caption, System.DateTime date ) : System
FormatDate ( System.DateTime dt ) : string
GetCell ( UITableView tv ) : UITableViewCell

Method Details

CreatePicker() public method

public CreatePicker ( ) : UIDatePicker
return UIDatePicker

DateTimeElement() public method

public DateTimeElement ( string caption, System.DateTime date ) : System
caption string
date System.DateTime
return System

FormatDate() public method

public FormatDate ( System.DateTime dt ) : string
dt System.DateTime
return string

GetCell() public method

public GetCell ( UITableView tv ) : UITableViewCell
tv UITableView
return UITableViewCell

Property Details

DateValue public_oe property

public DateTime? DateValue
return DateTime?

datePicker public_oe property

public UIDatePicker datePicker
return UIDatePicker

fmt protected_oe property

protected NSDateFormatter fmt
return NSDateFormatter