C# Класс MonoMobile.Dialog.DialogViewController

The DialogViewController is the main entry point to use MonoTouch.Dialog, it provides a simplified API to the UITableViewController.
Наследование: UITableViewController
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

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.

Deselected ( NSIndexPath indexPath ) : void
DialogViewController ( IntPtr handle ) : 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
FinishSearch ( ) : void

Allows the caller to programatically stop searching.

LoadView ( ) : void
MakeRefreshTableHeaderView ( RectangleF rect ) : RefreshTableHeaderView
MakeTableView ( RectangleF 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
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

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.

TriggerRefresh ( bool showStatus ) : void
UpdateSource ( ) : void
ViewWillAppear ( bool animated ) : void
ViewWillDisappear ( bool animated ) : 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

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

Deselected() публичный Метод

public Deselected ( NSIndexPath indexPath ) : void
indexPath NSIndexPath
Результат void

DialogViewController() публичный Метод

public DialogViewController ( IntPtr handle ) : System
handle 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

DidRotate() публичный Метод

public DidRotate ( UIInterfaceOrientation fromInterfaceOrientation ) : void
fromInterfaceOrientation UIInterfaceOrientation
Результат void

FinishSearch() публичный Метод

Allows the caller to programatically stop searching.
public FinishSearch ( ) : void
Результат void

LoadView() публичный Метод

public LoadView ( ) : void
Результат void

MakeRefreshTableHeaderView() публичный Метод

public MakeRefreshTableHeaderView ( RectangleF rect ) : RefreshTableHeaderView
rect System.Drawing.RectangleF
Результат RefreshTableHeaderView

MakeTableView() публичный Метод

public MakeTableView ( RectangleF bounds, UITableViewStyle style ) : UITableView
bounds System.Drawing.RectangleF
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

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

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() публичный Метод

public TriggerRefresh ( 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