Свойство | Type | Description | |
---|---|---|---|
dblAnimationIn | System.Windows.Media.Animation.DoubleAnimation | ||
dblAnimationOut | System.Windows.Media.Animation.DoubleAnimation | ||
sbIn | System.Windows.Media.Animation.Storyboard | ||
sbOut | System.Windows.Media.Animation.Storyboard |
Méthode | Description | |
---|---|---|
AnimateIn ( ) : void | ||
AnimateOut ( ) : void | ||
PoloroidControl ( ) : System | ||
PoloroidControl ( String resName, String caption, Color colour ) : System |
Constructor
|
|
removeBorder ( ) : void | ||
removeGlow ( ) : void | ||
removeTouch ( ) : void | ||
setCaption ( String caption ) : void |
setter method for the polaroid text
|
|
setColour ( Color colour ) : void |
setter method for the polaroid color
|
|
setGlow ( ) : void | ||
setImage ( String resName ) : void |
setter method for the polaroid image
|
|
setShadow ( double blur, double opacity, Color col ) : void |
Méthode | Description | |
---|---|---|
Poloroid_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void |
make the animation when mouse pressed
|
|
Poloroid_MouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void |
make the animation when lift up the mouse
|
|
Poloroid_TouchDown ( object sender, System.Windows.Input.TouchEventArgs e ) : void |
make the animation when touched
|
|
Poloroid_TouchUp ( object sender, System.Windows.Input.TouchEventArgs e ) : void |
make the animation when stop touching
|
|
ResetTimer ( ) : void | ||
hideShadow ( ) : void |
a helper method for animate the shadow when the polaroid is clicked or touched
|
|
showShadow ( ) : void |
a helper method for animate the shadow when the polaroid is clicked or touched
|
public PoloroidControl ( String resName, String caption, Color colour ) : System | ||
resName | String | The name of the image in the resources folder |
caption | String | The caption to go on the polaroid |
colour | Color | The colour of the backgroud of the text |
Résultat | System |
public setCaption ( String caption ) : void | ||
caption | String | |
Résultat | void |
public setShadow ( double blur, double opacity, Color col ) : void | ||
blur | double | |
opacity | double | |
col | Color | |
Résultat | void |
protected DoubleAnimation,System.Windows.Media.Animation dblAnimationIn | ||
Résultat | System.Windows.Media.Animation.DoubleAnimation |
protected DoubleAnimation,System.Windows.Media.Animation dblAnimationOut | ||
Résultat | System.Windows.Media.Animation.DoubleAnimation |
protected Storyboard,System.Windows.Media.Animation sbIn | ||
Résultat | System.Windows.Media.Animation.Storyboard |