C# Class TouchCanvas.MainViewController

Inheritance: UIViewController
Show file Open project: xamarin/monotouch-samples

Private Properties

Property Type Description
ClearView void
MainViewController System
ToggleDebugDrawing void
ToggleUsePreciseLocations void
UpdateReticleView void

Public Methods

Method Description
GetSupportedInterfaceOrientations ( ) : UIInterfaceOrientationMask
MainViewController ( IntPtr handle ) : System
ShouldAutorotate ( ) : bool
TouchesBegan ( NSSet touches, UIEvent evt ) : void
TouchesCancelled ( NSSet touches, UIEvent evt ) : void
TouchesEnded ( NSSet touches, UIEvent evt ) : void
TouchesEstimatedPropertiesUpdated ( NSSet touches ) : void
TouchesMoved ( NSSet touches, UIEvent evt ) : void
ViewDidLoad ( ) : void

Private Methods

Method Description
ClearView ( UIBarButtonItem sender ) : void
MainViewController ( NSCoder coder ) : System
ToggleDebugDrawing ( UIButton sender ) : void
ToggleUsePreciseLocations ( UIButton sender ) : void
UpdateReticleView ( UITouch touch, bool predicated = false ) : void

Method Details

GetSupportedInterfaceOrientations() public method

public GetSupportedInterfaceOrientations ( ) : UIInterfaceOrientationMask
return UIInterfaceOrientationMask

MainViewController() public method

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

ShouldAutorotate() public method

public ShouldAutorotate ( ) : bool
return bool

TouchesBegan() public method

public TouchesBegan ( NSSet touches, UIEvent evt ) : void
touches NSSet
evt UIEvent
return void

TouchesCancelled() public method

public TouchesCancelled ( NSSet touches, UIEvent evt ) : void
touches NSSet
evt UIEvent
return void

TouchesEnded() public method

public TouchesEnded ( NSSet touches, UIEvent evt ) : void
touches NSSet
evt UIEvent
return void

TouchesEstimatedPropertiesUpdated() public method

public TouchesEstimatedPropertiesUpdated ( NSSet touches ) : void
touches NSSet
return void

TouchesMoved() public method

public TouchesMoved ( NSSet touches, UIEvent evt ) : void
touches NSSet
evt UIEvent
return void

ViewDidLoad() public method

public ViewDidLoad ( ) : void
return void