Element Element Class

Definition

Base class for all elements in MonoTouch.Dialog

public class Element : IDisposable
type Element = class
    interface IDisposable
Inheritance
ElementElement
Derived
Implements

Constructors

Element(String) Element(String)

Initializes the element with the given caption.

Fields

Caption Caption

The caption to display for this given element

Parent Parent

Handle to the container object.

Properties

CellKey CellKey

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

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.

Methods

Deselected(DialogViewController, UITableView, NSIndexPath) Deselected(DialogViewController, UITableView, NSIndexPath)
Dispose() Dispose()
Dispose(Boolean) Dispose(Boolean)
GetActiveCell() GetActiveCell()
GetCell(UITableView) GetCell(UITableView)
GetContainerTableView() GetContainerTableView()
GetImmediateRootElement() GetImmediateRootElement()

If the cell is attached will return the immediate RootElement

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.

RemoveTag(UITableViewCell, Int32) RemoveTag(UITableViewCell, Int32)
Selected(DialogViewController, UITableView, NSIndexPath) Selected(DialogViewController, UITableView, NSIndexPath)
Summary() Summary()

Returns a summary of the value represented by this object, suitable for rendering as the result of a RootElement with child objects.

Applies to