C# 클래스 Cirrious.MvvmCross.Dialog.Touch.Dialog.Elements.Element

Base class for all elements in MonoTouch.Dialog
상속: IDisposable
파일 보기 프로젝트 열기: runegri/Android.Dialog 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Parent Element

공개 메소드들

메소드 설명
Deselected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void

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

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

Initializes the element with the given caption.

Element ( string caption, NSAction tapped ) : System
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. Must not be overridden - override GetCellImpl instead

GetContainerTableView ( ) : UITableView

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

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.

보호된 메소드들

메소드 설명
ActOnCurrentAttachedCell ( Action updateAction ) : void

Act on the current attached cell

Dispose ( bool disposing ) : void
GetCellImpl ( 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.

RemoveTag ( UITableViewCell cell, int tag ) : void
UpdateCaptionDisplay ( UITableViewCell cell ) : void

Override this method if you want some other action to be taken when the caption changes

UpdateCellDisplay ( UITableViewCell cell ) : void

Override this method if you want some other action to be taken when a cell view is set

메소드 상세

ActOnCurrentAttachedCell() 보호된 메소드

Act on the current attached cell
protected ActOnCurrentAttachedCell ( Action updateAction ) : void
updateAction Action
리턴 void

Deselected() 공개 메소드

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. ///
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Element() 공개 메소드

Initializes the element with the given caption.
public Element ( string caption ) : System
caption string /// The caption. ///
리턴 System

Element() 공개 메소드

public Element ( string caption, NSAction tapped ) : System
caption string
tapped NSAction
리턴 System

GetActiveCell() 공개 메소드

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

GetCell() 공개 메소드

Gets a UITableViewCell for this element. Must not be overridden - override GetCellImpl instead
public GetCell ( UITableView tv ) : UITableViewCell
tv UITableView
리턴 UITableViewCell

GetCellImpl() 보호된 메소드

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.
protected GetCellImpl ( UITableView tv ) : UITableViewCell
tv UITableView
리턴 UITableViewCell

GetContainerTableView() 공개 메소드

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

GetImmediateRootElement() 공개 메소드

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

Matches() 공개 메소드

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
리턴 bool

RemoveTag() 정적인 보호된 메소드

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

Selected() 공개 메소드

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. ///
리턴 void

Summary() 공개 메소드

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
리턴 string

UpdateCaptionDisplay() 보호된 메소드

Override this method if you want some other action to be taken when the caption changes
protected UpdateCaptionDisplay ( UITableViewCell cell ) : void
cell UITableViewCell
리턴 void

UpdateCellDisplay() 보호된 메소드

Override this method if you want some other action to be taken when a cell view is set
protected UpdateCellDisplay ( UITableViewCell cell ) : void
cell UITableViewCell
리턴 void

프로퍼티 상세

Parent 공개적으로 프로퍼티

Handle to the container object.
For sections this points to a RootElement, for every other object this points to a Section and it is null for the root RootElement.
public Element,Cirrious.MvvmCross.Dialog.Touch.Dialog.Elements Parent
리턴 Element