C# 클래스 CrossUI.iOS.Dialog.DialogViewController

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

공개 프로퍼티들

프로퍼티 타입 설명
Style UITableViewStyle

공개 메소드들

메소드 설명
ActivateController ( UIViewController controller ) : 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

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.

Deselected ( NSIndexPath indexPath ) : void
DialogViewController ( IntPtr handle ) : CoreGraphics
DialogViewController ( RootElement root ) : CoreGraphics
DialogViewController ( RootElement root, bool pushing ) : CoreGraphics

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

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

Allows the caller to programatically stop searching.

ForceDirty ( bool newDirty = true ) : void
LoadView ( ) : void
MakeRefreshTableHeaderView ( CGRect rect ) : RefreshTableHeaderView
MakeTableView ( CGRect bounds, UITableViewStyle style ) : UITableView
OnSearchTextChanged ( string text ) : void
PerformFilter ( string text ) : void
ReloadComplete ( ) : void

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

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

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

TriggerRefresh ( ) : 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.

ViewWillAppear ( bool animated ) : void
ViewWillDisappear ( bool animated ) : void

보호된 메소드들

메소드 설명
AdjustLayoutForViewWillAppear ( ) : void
ConfigureTableView ( ) : void
CreatSearchDelegate ( ) : UISearchBarDelegate
HeightForRow ( UITableView containedTableView, NSIndexPath indexPath ) : nfloat
ReloadIfDirty ( ) : void
SetupSearch ( ) : void
TriggerRefresh ( bool showStatus ) : void
UpdateSource ( ) : 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 ) : void
controller UIViewController
리턴 void

AdjustLayoutForViewWillAppear() 보호된 메소드

protected AdjustLayoutForViewWillAppear ( ) : void
리턴 void

ConfigureTableView() 보호된 메소드

protected ConfigureTableView ( ) : void
리턴 void

CreatSearchDelegate() 보호된 메소드

protected CreatSearchDelegate ( ) : UISearchBarDelegate
리턴 UISearchBarDelegate

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

Deselected() 공개 메소드

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

DialogViewController() 공개 메소드

public DialogViewController ( IntPtr handle ) : CoreGraphics
handle System.IntPtr
리턴 CoreGraphics

DialogViewController() 공개 메소드

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

DialogViewController() 공개 메소드

Creates a new DialogViewController from a RootElement and sets the push status
public DialogViewController ( RootElement root, bool pushing ) : CoreGraphics
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 ///
리턴 CoreGraphics

DialogViewController() 공개 메소드

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

DialogViewController() 공개 메소드

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

DidRotate() 공개 메소드

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

FinishSearch() 공개 메소드

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

ForceDirty() 공개 메소드

public ForceDirty ( bool newDirty = true ) : void
newDirty bool
리턴 void

HeightForRow() 보호된 메소드

protected HeightForRow ( UITableView containedTableView, NSIndexPath indexPath ) : nfloat
containedTableView UITableView
indexPath NSIndexPath
리턴 nfloat

LoadView() 공개 메소드

public LoadView ( ) : void
리턴 void

MakeRefreshTableHeaderView() 공개 메소드

public MakeRefreshTableHeaderView ( CGRect rect ) : RefreshTableHeaderView
rect CGRect
리턴 CrossUI.iOS.Dialog.Utilities.RefreshTableHeaderView

MakeTableView() 공개 메소드

public MakeTableView ( CGRect bounds, UITableViewStyle style ) : UITableView
bounds CGRect
style UITableViewStyle
리턴 UITableView

OnSearchTextChanged() 공개 메소드

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

PerformFilter() 공개 메소드

public PerformFilter ( string text ) : void
text string
리턴 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

ReloadIfDirty() 보호된 메소드

protected ReloadIfDirty ( ) : void
리턴 void

ReloadTableView() 공개 메소드

public ReloadTableView ( ) : void
리턴 void

SearchButtonClicked() 공개 메소드

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

Selected() 공개 메소드

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

SetupSearch() 보호된 메소드

protected 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

TriggerRefresh() 공개 메소드

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 TriggerRefresh ( ) : void
리턴 void

TriggerRefresh() 보호된 메소드

protected TriggerRefresh ( bool showStatus ) : void
showStatus bool
리턴 void

UpdateSource() 보호된 메소드

protected 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