C# Class ClanceysLib.CalendarDateTimeElement

Inheritance: MonoTouch.Dialog.StringElement
Afficher le fichier Open project: Clancey/ClanceyLib

Méthodes publiques

Свойство Type Description
DateValue System.DateTime
DisableSwitching bool
DoneEditing NSAction
OnDateSelected DateSelected
PickerType PickerTypes
calView MonoTouch.Dialog.CalendarMonthView
closeOnSelect bool
datePicker UIDatePicker

Protected Properties

Свойство Type Description
fmt NSDateFormatter

Méthodes publiques

Méthode Description
CalendarDateTimeElement ( string caption, System.DateTime date ) : System
CalendarDateTimeElement ( string caption, System.DateTime date, PickerTypes pickerType ) : System
CreatePicker ( ) : UIDatePicker
DateTimeToNSDate ( System.DateTime date ) : NSDate
Deselected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void
FormatDate ( System.DateTime dt ) : string
GetCell ( UITableView tv ) : UITableViewCell
NSDateToDateTime ( MonoTouch date ) : System.DateTime
Selected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CloseCalendar ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void
PickerFrameWithSize ( SizeF size ) : RectangleF
ShowCalendar ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void
ShowDatePicker ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void
SlideDown ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void

Method Details

CalendarDateTimeElement() public méthode

public CalendarDateTimeElement ( string caption, System.DateTime date ) : System
caption string
date System.DateTime
Résultat System

CalendarDateTimeElement() public méthode

public CalendarDateTimeElement ( string caption, System.DateTime date, PickerTypes pickerType ) : System
caption string
date System.DateTime
pickerType PickerTypes
Résultat System

CreatePicker() public méthode

public CreatePicker ( ) : UIDatePicker
Résultat UIDatePicker

DateTimeToNSDate() public static méthode

public static DateTimeToNSDate ( System.DateTime date ) : NSDate
date System.DateTime
Résultat NSDate

Deselected() public méthode

public Deselected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void
dvc MonoTouch.Dialog.DialogViewController
tableView UITableView
path NSIndexPath
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FormatDate() public méthode

public FormatDate ( System.DateTime dt ) : string
dt System.DateTime
Résultat string

GetCell() public méthode

public GetCell ( UITableView tv ) : UITableViewCell
tv UITableView
Résultat UITableViewCell

NSDateToDateTime() public static méthode

public static NSDateToDateTime ( MonoTouch date ) : System.DateTime
date MonoTouch
Résultat System.DateTime

Selected() public méthode

public Selected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void
dvc MonoTouch.Dialog.DialogViewController
tableView UITableView
path NSIndexPath
Résultat void

Property Details

DateValue public_oe property

public DateTime,System DateValue
Résultat System.DateTime

DisableSwitching public_oe property

public bool DisableSwitching
Résultat bool

DoneEditing public_oe property

public NSAction DoneEditing
Résultat NSAction

OnDateSelected public_oe property

public DateSelected OnDateSelected
Résultat DateSelected

PickerType public_oe property

public PickerTypes PickerType
Résultat PickerTypes

calView public_oe property

public CalendarMonthView,MonoTouch.Dialog calView
Résultat MonoTouch.Dialog.CalendarMonthView

closeOnSelect public_oe property

public bool closeOnSelect
Résultat bool

datePicker public_oe property

public UIDatePicker datePicker
Résultat UIDatePicker

fmt protected_oe property

protected NSDateFormatter fmt
Résultat NSDateFormatter