Edit

BooleanElement Class

Definition

Used to display switch on the screen.

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

Constructors

Name Description
BooleanElement(String, Boolean, String)
BooleanElement(String, Boolean)

Fields

Name Description
Caption

The caption to display for this given element

(Inherited from Element)
Parent

Handle to the container object.

(Inherited from Element)

Properties

Name Description
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

Name Description
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

Name Description
ValueChanged

Event raised when the Value property changes.

(Inherited from BoolElement)

Applies to