C# Class MonoMobile.Dialog.Element

Inheritance: System.Windows.Controls.StackPanel
Mostra file Open project: moljac/MonoMobile.Dialog Class Usage Examples

Public Methods

Method Description
Deselected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void

Invoked when the given element has been deslected by the user.

Dispose ( ) : void
Element ( ) : System
Element ( string caption ) : System

Initializes the fe with the given caption.

GetActiveCell ( ) : UITableViewCell

Returns the currently active UITableViewCell for this element, or null if the element is not currently visible

GetCell ( UITableView tv ) : UITableViewCell

Gets a UITableViewCell for this element. Can be overridden, but if you customize the style or contents of the cell you must also override the CellKey property in your derived class.

GetContainerTableView ( ) : UITableView

Returns the UITableView associated with this element, or null if this cell is not currently attached to a UITableView

GetControl ( ) : FrameworkElement

MT.D: public override UITableViewCell GetCell(UITableView tv) MA.D: public override View GetView(Context context, View convertView, ViewGroup parent) WP.D: Brainstorming needed! Control NOGO FrameworkElement GO! TODO: see more!

GetImmediateRootElement ( ) : RootElement

If the cell is attached will return the immediate RootElement

Matches ( string text ) : bool

Method invoked to determine if the cell matches the given text, never invoked with a null value or an empty string.

Selected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void

Invoked when the given element has been selected by the user.

Summary ( ) : string

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

ToString ( ) : string
Traverse ( Element e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
RemoveTag ( UITableViewCell cell, int tag ) : void

Method Details

Deselected() public method

Invoked when the given element has been deslected by the user.
public Deselected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void
dvc DialogViewController /// The where the deselection took place ///
tableView UITableView /// The that contains the element. ///
path NSIndexPath /// The that contains the Section and Row for the element. ///
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Element() public method

public Element ( ) : System
return System

Element() public method

Initializes the fe with the given caption.
public Element ( string caption ) : System
caption string /// The caption. ///
return System

GetActiveCell() public method

Returns the currently active UITableViewCell for this element, or null if the element is not currently visible
public GetActiveCell ( ) : UITableViewCell
return UITableViewCell

GetCell() public method

Gets a UITableViewCell for this element. Can be overridden, but if you customize the style or contents of the cell you must also override the CellKey property in your derived class.
public GetCell ( UITableView tv ) : UITableViewCell
tv UITableView
return UITableViewCell

GetContainerTableView() public method

Returns the UITableView associated with this element, or null if this cell is not currently attached to a UITableView
public GetContainerTableView ( ) : UITableView
return UITableView

GetControl() public method

MT.D: public override UITableViewCell GetCell(UITableView tv) MA.D: public override View GetView(Context context, View convertView, ViewGroup parent) WP.D: Brainstorming needed! Control NOGO FrameworkElement GO! TODO: see more!
public GetControl ( ) : FrameworkElement
return System.Windows.FrameworkElement

GetImmediateRootElement() public method

If the cell is attached will return the immediate RootElement
public GetImmediateRootElement ( ) : RootElement
return RootElement

Matches() public method

Method invoked to determine if the cell matches the given text, never invoked with a null value or an empty string.
public Matches ( string text ) : bool
text string
return bool

RemoveTag() static protected method

static protected RemoveTag ( UITableViewCell cell, int tag ) : void
cell UITableViewCell
tag int
return void

Selected() public method

Invoked when the given element has been selected by the user.
public Selected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void
dvc DialogViewController /// The where the selection took place ///
tableView UITableView /// The that contains the element. ///
path NSIndexPath /// The that contains the Section and Row for the element. ///
return void

Summary() public method

Returns a summary of the value represented by this object, suitable for rendering as the result of a RootElement with child objects.
public Summary ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

Traverse() public method

public Traverse ( Element e ) : void
e Element
return void