BoolElement Class

Definition

Base class for BoolElement and BaseBooleanImageElement

public abstract class BoolElement : MonoTouch.Dialog.Element
type BoolElement = class
    inherit Element
Inheritance
BoolElement
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)

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

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

The value of this boolean element.

Methods

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

Events

ValueChanged

Event raised when the Value property changes.

Applies to