C# Class MonoMobile.Dialog.Element

Inheritance: System.Windows.Controls.StackPanel
Afficher le fichier Open project: moljac/MonoMobile.Dialog Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
RemoveTag ( UITableViewCell cell, int tag ) : void

Method Details

Deselected() public méthode

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. ///
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Element() public méthode

public Element ( ) : System
Résultat System

Element() public méthode

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

GetActiveCell() public méthode

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

GetCell() public méthode

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
Résultat UITableViewCell

GetContainerTableView() public méthode

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

GetControl() public méthode

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
Résultat System.Windows.FrameworkElement

GetImmediateRootElement() public méthode

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

Matches() public méthode

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
Résultat bool

RemoveTag() static protected méthode

static protected RemoveTag ( UITableViewCell cell, int tag ) : void
cell UITableViewCell
tag int
Résultat void

Selected() public méthode

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. ///
Résultat void

Summary() public méthode

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
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string

Traverse() public méthode

public Traverse ( Element e ) : void
e Element
Résultat void