C# Класс SidebarNavigation.SidebarController

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

Private Properties

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

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

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

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

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

Описание методов

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

Replaces the content area view controller with the specified view controller.
public ChangeContentView ( UIViewController newContentView ) : void
newContentView UIViewController /// New content view. ///
Результат void

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

Hides the slideout navigation menu.
public CloseMenu ( bool animate = true ) : void
animate bool
Результат void

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

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

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

Shows the slideout navigation menu.
public OpenMenu ( ) : void
Результат void

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

Required contructor.
public SidebarController ( IntPtr handle ) : System
handle System.IntPtr
Результат System

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

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. ///
Результат System

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

Toggles the menu open or closed.
public ToggleMenu ( ) : void
Результат void

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

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

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

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

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

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