BoolElement BoolElement Class

Definition

Base class for BoolElement and BaseBooleanImageElement

public abstract class BoolElement : MonoTouch.Dialog.Element
type BoolElement = class
    inherit Element
Inheritance
BoolElementBoolElement
Derived

Remarks

This class provides the shared functionality for classes that render a boolean value either with text, images or UIKit switches.

Constructors

BoolElement(String, Boolean) BoolElement(String, Boolean)

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

The value of this boolean element.

Methods

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

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

Events

ValueChanged ValueChanged

Event raised when the Value property changes.

Fields

Caption Caption

The caption to display for this given element

(Inherited from Element)
Parent Parent

Handle to the container object.

(Inherited from Element)

Applies to