TimeElement TimeElement Class

Definition

An element that can be used to edit times

public class TimeElement : MonoTouch.Dialog.DateTimeElement
type TimeElement = class
    inherit DateTimeElement
Inheritance

Constructors

TimeElement(String, DateTime) TimeElement(String, DateTime)

Constructs the TimeElement.

Methods

CreatePicker() CreatePicker()
Deselected(DialogViewController, UITableView, NSIndexPath) Deselected(DialogViewController, UITableView, NSIndexPath) Inherited from Element
Dispose() Dispose() Inherited from Element
Dispose(Boolean) Dispose(Boolean)

Releases the resources associated with this DateTimeElement.

(Inherited from DateTimeElement)
FormatDate(DateTime) FormatDate(DateTime)

Formats the date, the return is used as the Value for the cell rendering.

GetActiveCell() GetActiveCell() Inherited from Element
GetCell(UITableView) GetCell(UITableView) Inherited from DateTimeElement
GetContainerTableView() GetContainerTableView() Inherited from Element
GetDateWithKind(DateTime) GetDateWithKind(DateTime)

Returns either the provided date time if the DateTimeKind is specified, otherwise makes ita DateTimeKind.Local

(Inherited from DateTimeElement)
GetImmediateRootElement() GetImmediateRootElement()

If the cell is attached will return the immediate RootElement

(Inherited from Element)
Matches(String) Matches(String)

Method invoked to determine if the cell matches the given text, never invoked with a null value or an empty string.

(Inherited from StringElement)
Selected(DialogViewController, UITableView, NSIndexPath) Selected(DialogViewController, UITableView, NSIndexPath) Inherited from DateTimeElement
Summary() Summary() Inherited from StringElement

Fields

Alignment Alignment Inherited from StringElement
BackgroundColor BackgroundColor Inherited from DateTimeElement
Caption Caption

The caption to display for this given element

(Inherited from Element)
datePicker datePicker Inherited from DateTimeElement
DateValue DateValue

The current DateTime value in the editor.

(Inherited from DateTimeElement)
fmt fmt

An internal date formatter that has been preconfigured for short date time renderings.

(Inherited from DateTimeElement)
MinuteInterval MinuteInterval Inherited from DateTimeElement
Parent Parent

Handle to the container object.

(Inherited from Element)
Value Value Inherited from StringElement

Events

DateSelected DateSelected

Event raised when a new date is selected by the picker.

(Inherited from DateTimeElement)
Tapped Tapped Inherited from StringElement

Properties

CellKey CellKey

Subclasses that override the GetCell method should override this method as well

(Inherited from Element)
IndexPath IndexPath

Returns the IndexPath of a given element. This is only valid for leaf elements, it does not work for a toplevel RootElement or a Section of if the Element has not been attached yet.

(Inherited from Element)

Applies to