Edit

Share via


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)

Constructs the TimeElement.

Fields

Alignment (Inherited from StringElement)
BackgroundColor (Inherited from DateTimeElement)
Caption

The caption to display for this given element

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

The current DateTime value in the editor.

(Inherited from DateTimeElement)
fmt

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

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

Handle to the container object.

(Inherited from Element)
Value (Inherited from StringElement)

Properties

CellKey

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

(Inherited from Element)
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)

Methods

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

Releases the resources associated with this DateTimeElement.

(Inherited from DateTimeElement)
FormatDate(DateTime)

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

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

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

(Inherited from DateTimeElement)
GetImmediateRootElement()

If the cell is attached will return the immediate RootElement

(Inherited from Element)
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) (Inherited from DateTimeElement)
Summary() (Inherited from StringElement)

Events

DateSelected

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

(Inherited from DateTimeElement)
Tapped (Inherited from StringElement)

Applies to