C# 클래스 MonoTouch.Dialog.DialogViewController

The DialogViewController is the main entry point to use MonoTouch.Dialog, it provides a simplified API to the UITableViewController.
상속: UITableViewController
파일 보기 프로젝트 열기: escoz/MonoMobile.Forms 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Style UITableViewStyle

공개 메소드들

메소드 설명
AccessorySelected ( NSIndexPath indexPath ) : void
ActivateController ( UIViewController controller, DialogViewController oldController ) : void

Activates a nested view controller from the DialogViewController. If the view controller is hosted in a UINavigationController it will push the result. Otherwise it will show it as a modal dialog

ClearSearchBar ( ) : void
ConfigureTableView ( ) : void
CreateSizingSource ( bool unevenRows ) : Source
DeactivateController ( bool animated ) : void

Dismisses the view controller. It either pops or dismisses based on the kind of container we are hosted in.

DialogViewController ( IntPtr ptr ) : System
DialogViewController ( RootElement root ) : System
DialogViewController ( RootElement root, bool pushing ) : System

Creates a new DialogViewController from a RootElement and sets the push status

DialogViewController ( UITableViewStyle style, RootElement root ) : System
DialogViewController ( UITableViewStyle style, RootElement root, bool pushing ) : System
DidRotate ( UIInterfaceOrientation fromInterfaceOrientation ) : void
EnableSearchCancelButton ( ) : void
FinishSearch ( ) : void

Allows the caller to programatically stop searching.

LoadView ( ) : void
MakeRefreshTableHeaderView ( RectangleF rect, bool isTop ) : RefreshTableHeaderView
MakeTableView ( ) : UITableView
OnSearchTextChanged ( string text ) : void
PerformFilter ( string text ) : void
PushRootElement ( RootElement root ) : void
ReloadComplete ( ) : void

Invoke this method to signal that a reload has completed, this will update the UI accordingly.

ReloadData ( ) : void
SearchButtonClicked ( string text ) : void
Selected ( NSIndexPath indexPath ) : void
SetupSearch ( ) : void
ShouldAutorotateToInterfaceOrientation ( UIInterfaceOrientation toInterfaceOrientation ) : bool
StartSearch ( ) : void

Allows caller to programatically activate the search bar and start the search process

TriggerBottomRefresh ( ) : void
TriggerBottomRefresh ( bool showStatus ) : void
TriggerTopRefresh ( ) : void

Invoke this method to trigger a data refresh.

This will invoke the RerfeshRequested event handler, the code attached to it should start the background operation to fetch the data and when it completes it should call ReloadComplete to restore the control state.

TriggerTopRefresh ( bool showStatus ) : void
UpdateSource ( ) : void
ViewWillAppear ( bool animated ) : void
ViewWillDisappear ( bool animated ) : void

보호된 메소드들

메소드 설명
DialogViewController ( UITableViewStyle style, bool pushing ) : System
DialogViewController ( bool pushing ) : System
PrepareRoot ( RootElement root ) : void

메소드 상세

AccessorySelected() 공개 메소드

public AccessorySelected ( NSIndexPath indexPath ) : void
indexPath NSIndexPath
리턴 void

ActivateController() 공개 메소드

Activates a nested view controller from the DialogViewController. If the view controller is hosted in a UINavigationController it will push the result. Otherwise it will show it as a modal dialog
public ActivateController ( UIViewController controller, DialogViewController oldController ) : void
controller UIViewController
oldController DialogViewController
리턴 void

ClearSearchBar() 공개 메소드

public ClearSearchBar ( ) : void
리턴 void

ConfigureTableView() 공개 메소드

public ConfigureTableView ( ) : void
리턴 void

CreateSizingSource() 공개 메소드

public CreateSizingSource ( bool unevenRows ) : Source
unevenRows bool
리턴 Source

DeactivateController() 공개 메소드

Dismisses the view controller. It either pops or dismisses based on the kind of container we are hosted in.
public DeactivateController ( bool animated ) : void
animated bool
리턴 void

DialogViewController() 공개 메소드

public DialogViewController ( IntPtr ptr ) : System
ptr System.IntPtr
리턴 System

DialogViewController() 공개 메소드

public DialogViewController ( RootElement root ) : System
root RootElement
리턴 System

DialogViewController() 공개 메소드

Creates a new DialogViewController from a RootElement and sets the push status
public DialogViewController ( RootElement root, bool pushing ) : System
root RootElement /// The containing the information to render. ///
pushing bool /// A describing whether this is being pushed /// (NavigationControllers) or not. If pushing is true, then the back button /// will be shown, allowing the user to go back to the previous controller ///
리턴 System

DialogViewController() 공개 메소드

public DialogViewController ( UITableViewStyle style, RootElement root ) : System
style UITableViewStyle
root RootElement
리턴 System

DialogViewController() 공개 메소드

public DialogViewController ( UITableViewStyle style, RootElement root, bool pushing ) : System
style UITableViewStyle
root RootElement
pushing bool
리턴 System

DialogViewController() 보호된 메소드

protected DialogViewController ( UITableViewStyle style, bool pushing ) : System
style UITableViewStyle
pushing bool
리턴 System

DialogViewController() 보호된 메소드

protected DialogViewController ( bool pushing ) : System
pushing bool
리턴 System

DidRotate() 공개 메소드

public DidRotate ( UIInterfaceOrientation fromInterfaceOrientation ) : void
fromInterfaceOrientation UIInterfaceOrientation
리턴 void

EnableSearchCancelButton() 공개 메소드

public EnableSearchCancelButton ( ) : void
리턴 void

FinishSearch() 공개 메소드

Allows the caller to programatically stop searching.
public FinishSearch ( ) : void
리턴 void

LoadView() 공개 메소드

public LoadView ( ) : void
리턴 void

MakeRefreshTableHeaderView() 공개 메소드

public MakeRefreshTableHeaderView ( RectangleF rect, bool isTop ) : RefreshTableHeaderView
rect RectangleF
isTop bool
리턴 RefreshTableHeaderView

MakeTableView() 공개 메소드

public MakeTableView ( ) : UITableView
리턴 UITableView

OnSearchTextChanged() 공개 메소드

public OnSearchTextChanged ( string text ) : void
text string
리턴 void

PerformFilter() 공개 메소드

public PerformFilter ( string text ) : void
text string
리턴 void

PrepareRoot() 보호된 메소드

protected PrepareRoot ( RootElement root ) : void
root RootElement
리턴 void

PushRootElement() 공개 메소드

public PushRootElement ( RootElement root ) : void
root RootElement
리턴 void

ReloadComplete() 공개 메소드

Invoke this method to signal that a reload has completed, this will update the UI accordingly.
public ReloadComplete ( ) : void
리턴 void

ReloadData() 공개 메소드

public ReloadData ( ) : void
리턴 void

SearchButtonClicked() 공개 메소드

public SearchButtonClicked ( string text ) : void
text string
리턴 void

Selected() 공개 메소드

public Selected ( NSIndexPath indexPath ) : void
indexPath NSIndexPath
리턴 void

SetupSearch() 공개 메소드

public SetupSearch ( ) : void
리턴 void

ShouldAutorotateToInterfaceOrientation() 공개 메소드

public ShouldAutorotateToInterfaceOrientation ( UIInterfaceOrientation toInterfaceOrientation ) : bool
toInterfaceOrientation UIInterfaceOrientation
리턴 bool

StartSearch() 공개 메소드

Allows caller to programatically activate the search bar and start the search process
public StartSearch ( ) : void
리턴 void

TriggerBottomRefresh() 공개 메소드

public TriggerBottomRefresh ( ) : void
리턴 void

TriggerBottomRefresh() 공개 메소드

public TriggerBottomRefresh ( bool showStatus ) : void
showStatus bool
리턴 void

TriggerTopRefresh() 공개 메소드

Invoke this method to trigger a data refresh.
This will invoke the RerfeshRequested event handler, the code attached to it should start the background operation to fetch the data and when it completes it should call ReloadComplete to restore the control state.
public TriggerTopRefresh ( ) : void
리턴 void

TriggerTopRefresh() 공개 메소드

public TriggerTopRefresh ( bool showStatus ) : void
showStatus bool
리턴 void

UpdateSource() 공개 메소드

public UpdateSource ( ) : void
리턴 void

ViewWillAppear() 공개 메소드

public ViewWillAppear ( bool animated ) : void
animated bool
리턴 void

ViewWillDisappear() 공개 메소드

public ViewWillDisappear ( bool animated ) : void
animated bool
리턴 void

프로퍼티 상세

Style 공개적으로 프로퍼티

public UITableViewStyle Style
리턴 UITableViewStyle