C# Class BlinkIDDemo.Rectangle

Control for displaying target rectangle
Inheritance: System.Windows.Controls.UserControl
Show file Open project: BlinkID/blinkid-windowsPhone

Public Methods

Method Description
AnimateOrientationChange ( OrientationChangedEventArgs e ) : void

Animates the rectangle on orientation change

InitBoxSize ( ) : void

Calculates initial rectangle dimensions (in portrait)

Rectangle ( ) : System

Default constructor Sets loaded event handler

Private Methods

Method Description
Rectangle_Loaded ( object sender, RoutedEventArgs e ) : void

Handles loaded event

Method Details

AnimateOrientationChange() public method

Animates the rectangle on orientation change
public AnimateOrientationChange ( OrientationChangedEventArgs e ) : void
e OrientationChangedEventArgs
return void

InitBoxSize() public method

Calculates initial rectangle dimensions (in portrait)
public InitBoxSize ( ) : void
return void

Rectangle() public method

Default constructor Sets loaded event handler
public Rectangle ( ) : System
return System