C# 클래스 P02Project.PoloroidControl

Interaction logic for PoloroidControl.xaml
상속: System.Windows.Controls.UserControl, Animatiable
파일 보기 프로젝트 열기: raouldc/OptiDev 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
dblAnimationIn System.Windows.Media.Animation.DoubleAnimation
dblAnimationOut System.Windows.Media.Animation.DoubleAnimation
sbIn System.Windows.Media.Animation.Storyboard
sbOut System.Windows.Media.Animation.Storyboard

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AnimateIn() 공개 메소드

public AnimateIn ( ) : void
리턴 void

AnimateOut() 공개 메소드

public AnimateOut ( ) : void
리턴 void

PoloroidControl() 공개 메소드

public PoloroidControl ( ) : System
리턴 System

PoloroidControl() 공개 메소드

Constructor
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
리턴 System

removeBorder() 공개 메소드

public removeBorder ( ) : void
리턴 void

removeGlow() 공개 메소드

public removeGlow ( ) : void
리턴 void

removeTouch() 공개 메소드

public removeTouch ( ) : void
리턴 void

setCaption() 공개 메소드

setter method for the polaroid text
public setCaption ( String caption ) : void
caption String
리턴 void

setColour() 공개 메소드

setter method for the polaroid color
public setColour ( Color colour ) : void
colour Color
리턴 void

setGlow() 공개 메소드

public setGlow ( ) : void
리턴 void

setImage() 공개 메소드

setter method for the polaroid image
public setImage ( String resName ) : void
resName String
리턴 void

setShadow() 공개 메소드

public setShadow ( double blur, double opacity, Color col ) : void
blur double
opacity double
col Color
리턴 void

프로퍼티 상세

dblAnimationIn 보호되어 있는 프로퍼티

protected DoubleAnimation,System.Windows.Media.Animation dblAnimationIn
리턴 System.Windows.Media.Animation.DoubleAnimation

dblAnimationOut 보호되어 있는 프로퍼티

protected DoubleAnimation,System.Windows.Media.Animation dblAnimationOut
리턴 System.Windows.Media.Animation.DoubleAnimation

sbIn 보호되어 있는 프로퍼티

protected Storyboard,System.Windows.Media.Animation sbIn
리턴 System.Windows.Media.Animation.Storyboard

sbOut 보호되어 있는 프로퍼티

protected Storyboard,System.Windows.Media.Animation sbOut
리턴 System.Windows.Media.Animation.Storyboard