C# Class MonoMobile.Views.DialogViewController

Inheritance: UITableViewController
Afficher le fichier Open project: RobertKozak/MonoMobile.Views Class Usage Examples

Méthodes publiques

Свойство Type Description
Style UITableViewStyle

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
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

Method Details

ActivateController() public méthode

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
Résultat void

DeactivateController() public méthode

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
Résultat void

DialogViewController() public méthode

public DialogViewController ( IntPtr handle ) : System
handle System.IntPtr
Résultat System

DialogViewController() public méthode

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
Résultat System

DialogViewController() public méthode

public DialogViewController ( string title, object view, Theme theme, bool pushing ) : System
title string
view object
theme Theme
pushing bool
Résultat System

DidRotate() public méthode

public DidRotate ( UIInterfaceOrientation fromInterfaceOrientation ) : void
fromInterfaceOrientation UIInterfaceOrientation
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FinishSearch() public méthode

Allows the caller to programatically stop searching.
public FinishSearch ( bool hide ) : void
hide bool
Résultat void

Flip() public méthode

public Flip ( ) : void
Résultat void

MakeRefreshTableHeaderView() public méthode

public MakeRefreshTableHeaderView ( RectangleF rect, string defaultSettingsKey ) : RefreshTableHeaderView
rect System.Drawing.RectangleF
defaultSettingsKey string
Résultat RefreshTableHeaderView

MakeTableView() public méthode

public MakeTableView ( RectangleF bounds, UITableViewStyle style ) : UITableView
bounds System.Drawing.RectangleF
style UITableViewStyle
Résultat UITableView

OnSearchTextChanged() public méthode

public OnSearchTextChanged ( string text ) : void
text string
Résultat void

PerformFilter() public méthode

public PerformFilter ( string text ) : void
text string
Résultat void

ReloadComplete() public méthode

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

ReloadData() public méthode

public ReloadData ( ) : void
Résultat void

ResetTheme() public méthode

public ResetTheme ( Theme newTheme ) : void
newTheme Theme
Résultat void

SearchButtonClicked() public méthode

public SearchButtonClicked ( string text ) : void
text string
Résultat void

Selected() public méthode

public Selected ( object item, NSIndexPath indexPath ) : void
item object
indexPath NSIndexPath
Résultat void

ShouldAutorotateToInterfaceOrientation() public méthode

public ShouldAutorotateToInterfaceOrientation ( UIInterfaceOrientation toInterfaceOrientation ) : bool
toInterfaceOrientation UIInterfaceOrientation
Résultat bool

StartSearch() public méthode

Allows caller to programatically activate the search bar and start the search process
public StartSearch ( ) : void
Résultat void

ToggleSearchbar() public méthode

public ToggleSearchbar ( ) : void
Résultat void

TriggerRefresh() public méthode

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
Résultat void

TriggerRefresh() public méthode

public TriggerRefresh ( bool showStatus ) : void
showStatus bool
Résultat void

UpdateSource() public méthode

public UpdateSource ( ) : void
Résultat void

ViewDidAppear() public méthode

public ViewDidAppear ( bool animated ) : void
animated bool
Résultat void

ViewDidDisappear() public méthode

public ViewDidDisappear ( bool animated ) : void
animated bool
Résultat void

ViewWillAppear() public méthode

public ViewWillAppear ( bool animated ) : void
animated bool
Résultat void

ViewWillDisappear() public méthode

public ViewWillDisappear ( bool animated ) : void
animated bool
Résultat void

WillRotate() public méthode

public WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void
toInterfaceOrientation UIInterfaceOrientation
duration double
Résultat void

Property Details

Style public_oe property

public UITableViewStyle Style
Résultat UITableViewStyle