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

Наследование: UITableViewController
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
Style UITableViewStyle

Открытые методы

Метод Описание
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

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 handle ) : System
DialogViewController ( string title, object view, MemberInfo member, Theme theme, bool pushing ) : System
DialogViewController ( string title, object view, Theme theme, bool pushing ) : System
DidRotate ( UIInterfaceOrientation fromInterfaceOrientation ) : void
FinishSearch ( bool hide ) : void

Allows the caller to programatically stop searching.

Flip ( ) : void
MakeRefreshTableHeaderView ( RectangleF rect, string defaultSettingsKey ) : 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
ResetTheme ( Theme newTheme ) : void
SearchButtonClicked ( string text ) : void
Selected ( object item, NSIndexPath indexPath ) : void
ShouldAutorotateToInterfaceOrientation ( UIInterfaceOrientation toInterfaceOrientation ) : bool
StartSearch ( ) : void

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

ToggleSearchbar ( ) : void
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
ViewDidAppear ( bool animated ) : void
ViewDidDisappear ( bool animated ) : void
ViewWillAppear ( bool animated ) : void
ViewWillDisappear ( bool animated ) : void
WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
ConfigureBackgroundImage ( ) : void
ConfigureNavbarItems ( ) : void
ConfigureToolbarItems ( ) : void
CreateSearchbar ( ) : void
CreateTableView ( object view, MemberInfo member, Theme theme ) : void
CreateTableView ( object view, Theme theme ) : void
FadeOutDidFinish ( ) : void
RefreshThread ( ) : void
SetPushing ( bool pushing ) : void
SetScrollEnabled ( ) : 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

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 handle ) : System
handle System.IntPtr
Результат System

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

public DialogViewController ( string title, object view, MemberInfo member, Theme theme, bool pushing ) : System
title string
view object
member System.Reflection.MemberInfo
theme Theme
pushing bool
Результат System

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

public DialogViewController ( string title, object view, Theme theme, bool pushing ) : System
title string
view object
theme Theme
pushing bool
Результат System

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

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

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

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

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

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

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

public MakeRefreshTableHeaderView ( RectangleF rect, string defaultSettingsKey ) : RefreshTableHeaderView
rect System.Drawing.RectangleF
defaultSettingsKey string
Результат 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

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

public ResetTheme ( Theme newTheme ) : void
newTheme Theme
Результат void

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

public SearchButtonClicked ( string text ) : void
text string
Результат void

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

public Selected ( object item, NSIndexPath indexPath ) : void
item object
indexPath NSIndexPath
Результат 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

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

public ToggleSearchbar ( ) : 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

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

public ViewDidAppear ( bool animated ) : void
animated bool
Результат void

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

public ViewDidDisappear ( bool animated ) : void
animated bool
Результат void

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

public ViewWillAppear ( bool animated ) : void
animated bool
Результат void

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

public ViewWillDisappear ( bool animated ) : void
animated bool
Результат void

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

public WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void
toInterfaceOrientation UIInterfaceOrientation
duration double
Результат void

Описание свойств

Style публичное свойство

public UITableViewStyle Style
Результат UITableViewStyle