Edit

Share via


BooleanElement Class

Definition

Used to display switch on the screen.

public class BooleanElement : MonoTouch.Dialog.BoolElement
type BooleanElement = class
    inherit BoolElement
Inheritance
BooleanElement

Constructors

BooleanElement(String, Boolean, String)
BooleanElement(String, Boolean)

Fields

Caption

The caption to display for this given element

(Inherited from Element)
Parent

Handle to the container object.

(Inherited from Element)

Properties

CellKey

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

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)
Value

Methods

Deselected(DialogViewController, UITableView, NSIndexPath) (Inherited from Element)
Dispose() (Inherited from Element)
Dispose(Boolean)
GetActiveCell() (Inherited from Element)
GetCell(UITableView)
GetContainerTableView() (Inherited from Element)
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 Element)
Selected(DialogViewController, UITableView, NSIndexPath) (Inherited from Element)
Summary()

Returns a localized version of the boolean value (on/off).

(Inherited from BoolElement)

Events

ValueChanged

Event raised when the Value property changes.

(Inherited from BoolElement)

Applies to