C# Class MonoMobile.Views.DialogViewController

Inheritance: UITableViewController
Exibir arquivo Open project: RobertKozak/MonoMobile.Views Class Usage Examples

Public Properties

Property Type Description
Style UITableViewStyle

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method 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 method

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
return void

DeactivateController() public method

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
return void

DialogViewController() public method

public DialogViewController ( IntPtr handle ) : System
handle System.IntPtr
return System

DialogViewController() public method

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
return System

DialogViewController() public method

public DialogViewController ( string title, object view, Theme theme, bool pushing ) : System
title string
view object
theme Theme
pushing bool
return System

DidRotate() public method

public DidRotate ( UIInterfaceOrientation fromInterfaceOrientation ) : void
fromInterfaceOrientation UIInterfaceOrientation
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FinishSearch() public method

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

Flip() public method

public Flip ( ) : void
return void

MakeRefreshTableHeaderView() public method

public MakeRefreshTableHeaderView ( RectangleF rect, string defaultSettingsKey ) : RefreshTableHeaderView
rect System.Drawing.RectangleF
defaultSettingsKey string
return RefreshTableHeaderView

MakeTableView() public method

public MakeTableView ( RectangleF bounds, UITableViewStyle style ) : UITableView
bounds System.Drawing.RectangleF
style UITableViewStyle
return UITableView

OnSearchTextChanged() public method

public OnSearchTextChanged ( string text ) : void
text string
return void

PerformFilter() public method

public PerformFilter ( string text ) : void
text string
return void

ReloadComplete() public method

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

ReloadData() public method

public ReloadData ( ) : void
return void

ResetTheme() public method

public ResetTheme ( Theme newTheme ) : void
newTheme Theme
return void

SearchButtonClicked() public method

public SearchButtonClicked ( string text ) : void
text string
return void

Selected() public method

public Selected ( object item, NSIndexPath indexPath ) : void
item object
indexPath NSIndexPath
return void

ShouldAutorotateToInterfaceOrientation() public method

public ShouldAutorotateToInterfaceOrientation ( UIInterfaceOrientation toInterfaceOrientation ) : bool
toInterfaceOrientation UIInterfaceOrientation
return bool

StartSearch() public method

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

ToggleSearchbar() public method

public ToggleSearchbar ( ) : void
return void

TriggerRefresh() public method

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
return void

TriggerRefresh() public method

public TriggerRefresh ( bool showStatus ) : void
showStatus bool
return void

UpdateSource() public method

public UpdateSource ( ) : void
return void

ViewDidAppear() public method

public ViewDidAppear ( bool animated ) : void
animated bool
return void

ViewDidDisappear() public method

public ViewDidDisappear ( bool animated ) : void
animated bool
return void

ViewWillAppear() public method

public ViewWillAppear ( bool animated ) : void
animated bool
return void

ViewWillDisappear() public method

public ViewWillDisappear ( bool animated ) : void
animated bool
return void

WillRotate() public method

public WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void
toInterfaceOrientation UIInterfaceOrientation
duration double
return void

Property Details

Style public_oe property

public UITableViewStyle Style
return UITableViewStyle