Edit

Share via


Element Class

Definition

Base class for all elements in MonoTouch.Dialog

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

Constructors

Element(String)

Initializes the element with the given caption.

Fields

Caption

The caption to display for this given element

Parent

Handle to the container object.

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.

Methods

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

If the cell is attached will return the immediate RootElement

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)
Selected(DialogViewController, UITableView, NSIndexPath)
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