C# 클래스 ChessBoardVisualLib.ViewModel.SquareItem

상속: System.Windows.DependencyObject
파일 보기 프로젝트 열기: Ribtoks/Queem 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ColoredFigureProperty System.Windows.DependencyProperty
DeltaXTransformProperty System.Windows.DependencyProperty
DeltaYTransformProperty System.Windows.DependencyProperty
FigureColorProperty System.Windows.DependencyProperty
FigureTypeProperty DependencyProperty
IsHighlightedProperty DependencyProperty
SquareColorProperty DependencyProperty

공개 메소드들

메소드 설명
AnimateShift ( double deltaX, double deltaY, Action action ) : void
ResetTransform ( ) : void
SetBackgroundColor ( Square square ) : void
SquareItem ( Square square, Figure figure, Color color ) : System
UpdateChessFigure ( Figure newFigure, Color newColor ) : void

비공개 메소드들

메소드 설명
OnAnimationFinished ( ) : void

메소드 상세

AnimateShift() 공개 메소드

public AnimateShift ( double deltaX, double deltaY, Action action ) : void
deltaX double
deltaY double
action Action
리턴 void

ResetTransform() 공개 메소드

public ResetTransform ( ) : void
리턴 void

SetBackgroundColor() 공개 메소드

public SetBackgroundColor ( Square square ) : void
square Square
리턴 void

SquareItem() 공개 메소드

public SquareItem ( Square square, Figure figure, Color color ) : System
square Square
figure Figure
color Color
리턴 System

UpdateChessFigure() 공개 메소드

public UpdateChessFigure ( Figure newFigure, Color newColor ) : void
newFigure Figure
newColor Color
리턴 void

프로퍼티 상세

ColoredFigureProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ColoredFigureProperty
리턴 System.Windows.DependencyProperty

DeltaXTransformProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows DeltaXTransformProperty
리턴 System.Windows.DependencyProperty

DeltaYTransformProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows DeltaYTransformProperty
리턴 System.Windows.DependencyProperty

FigureColorProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows FigureColorProperty
리턴 System.Windows.DependencyProperty

FigureTypeProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty FigureTypeProperty
리턴 DependencyProperty

IsHighlightedProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty IsHighlightedProperty
리턴 DependencyProperty

SquareColorProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty SquareColorProperty
리턴 DependencyProperty