C# Class SidebarNavigation.SidebarController

Inheritance: UIViewController
Show file Open project: fpt-software/Wordpress-Client Class Usage Examples

Private Properties

Property Type Description
CaptureStatusBarImage UIKit.UIImage
GetStatusImage void
HideComplete void
HideShadow void
HideStatusImage void
Initialize void
Pan void
SetLocation void
SetViewSize void
SetVisibleView void
ShouldReceiveTouch bool
ShowShadow void
ShowShadowWhileDragging void

Public Methods

Method Description
ChangeContentView ( UIViewController newContentView ) : void

Replaces the content area view controller with the specified view controller.

CloseMenu ( bool animate = true ) : void

Hides the slideout navigation menu.

DidRotate ( UIInterfaceOrientation fromInterfaceOrientation ) : void
OpenMenu ( ) : void

Shows the slideout navigation menu.

SidebarController ( IntPtr handle ) : System

Required contructor.

SidebarController ( UIViewController rootViewController, UIViewController contentAreaController, UIViewController navigationAreaController ) : System

Contructor.

ToggleMenu ( ) : void

Toggles the menu open or closed.

ViewDidLayoutSubviews ( ) : void
ViewWillAppear ( bool animated ) : void
WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void

Private Methods

Method Description
CaptureStatusBarImage ( ) : UIKit.UIImage

Gets a static image of the status bar.

GetStatusImage ( ) : void

Places the static status image.

HideComplete ( ) : void
HideShadow ( ) : void

Hides the shadow of the root view.

HideStatusImage ( ) : void

Hides the static status bar image.

Initialize ( UIViewController currentViewController, UIViewController navigationViewController ) : void
Pan ( UIView view ) : void

Pan the specified view.

SetLocation ( CoreGraphics.CGRect frame ) : void

Sets the location of the root view.

SetViewSize ( ) : void

Sets the size of the root view.

SetVisibleView ( ) : void

Places the root view on top of the navigation view.

ShouldReceiveTouch ( UIGestureRecognizer gesture, UITouch touch ) : bool

Should the receive touch.

ShowShadow ( float position ) : void

Shows the shadow.

ShowShadowWhileDragging ( ) : void

Shows the shadow of the root view while dragging.

Method Details

ChangeContentView() public method

Replaces the content area view controller with the specified view controller.
public ChangeContentView ( UIViewController newContentView ) : void
newContentView UIViewController /// New content view. ///
return void

CloseMenu() public method

Hides the slideout navigation menu.
public CloseMenu ( bool animate = true ) : void
animate bool
return void

DidRotate() public method

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

OpenMenu() public method

Shows the slideout navigation menu.
public OpenMenu ( ) : void
return void

SidebarController() public method

Required contructor.
public SidebarController ( IntPtr handle ) : System
handle System.IntPtr
return System

SidebarController() public method

Contructor.
public SidebarController ( UIViewController rootViewController, UIViewController contentAreaController, UIViewController navigationAreaController ) : System
rootViewController UIViewController
contentAreaController UIViewController /// The view controller for the content area. ///
navigationAreaController UIViewController /// The view controller for the side menu. ///
return System

ToggleMenu() public method

Toggles the menu open or closed.
public ToggleMenu ( ) : void
return void

ViewDidLayoutSubviews() public method

public ViewDidLayoutSubviews ( ) : void
return void

ViewWillAppear() public method

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

WillRotate() public method

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