C# Class BlinkIDDemo.Rectangle

Control for displaying target rectangle
Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: BlinkID/blinkid-windowsPhone

Méthodes publiques

Méthode 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

Méthode Description
Rectangle_Loaded ( object sender, RoutedEventArgs e ) : void

Handles loaded event

Method Details

AnimateOrientationChange() public méthode

Animates the rectangle on orientation change
public AnimateOrientationChange ( OrientationChangedEventArgs e ) : void
e OrientationChangedEventArgs
Résultat void

InitBoxSize() public méthode

Calculates initial rectangle dimensions (in portrait)
public InitBoxSize ( ) : void
Résultat void

Rectangle() public méthode

Default constructor Sets loaded event handler
public Rectangle ( ) : System
Résultat System