C# Class ChessBoardVisualLib.ViewModel.SquareItem

Inheritance: System.Windows.DependencyObject
Afficher le fichier Open project: Ribtoks/Queem Class Usage Examples

Méthodes publiques

Свойство Type Description
ColoredFigureProperty System.Windows.DependencyProperty
DeltaXTransformProperty System.Windows.DependencyProperty
DeltaYTransformProperty System.Windows.DependencyProperty
FigureColorProperty System.Windows.DependencyProperty
FigureTypeProperty DependencyProperty
IsHighlightedProperty DependencyProperty
SquareColorProperty DependencyProperty

Méthodes publiques

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

Private Methods

Méthode Description
OnAnimationFinished ( ) : void

Method Details

AnimateShift() public méthode

public AnimateShift ( double deltaX, double deltaY, Action action ) : void
deltaX double
deltaY double
action Action
Résultat void

ResetTransform() public méthode

public ResetTransform ( ) : void
Résultat void

SetBackgroundColor() public méthode

public SetBackgroundColor ( Square square ) : void
square Square
Résultat void

SquareItem() public méthode

public SquareItem ( Square square, Figure figure, Color color ) : System
square Square
figure Figure
color Color
Résultat System

UpdateChessFigure() public méthode

public UpdateChessFigure ( Figure newFigure, Color newColor ) : void
newFigure Figure
newColor Color
Résultat void

Property Details

ColoredFigureProperty public_oe static_oe property

public static DependencyProperty,System.Windows ColoredFigureProperty
Résultat System.Windows.DependencyProperty

DeltaXTransformProperty public_oe static_oe property

public static DependencyProperty,System.Windows DeltaXTransformProperty
Résultat System.Windows.DependencyProperty

DeltaYTransformProperty public_oe static_oe property

public static DependencyProperty,System.Windows DeltaYTransformProperty
Résultat System.Windows.DependencyProperty

FigureColorProperty public_oe static_oe property

public static DependencyProperty,System.Windows FigureColorProperty
Résultat System.Windows.DependencyProperty

FigureTypeProperty public_oe static_oe property

public static DependencyProperty FigureTypeProperty
Résultat DependencyProperty

IsHighlightedProperty public_oe static_oe property

public static DependencyProperty IsHighlightedProperty
Résultat DependencyProperty

SquareColorProperty public_oe static_oe property

public static DependencyProperty SquareColorProperty
Résultat DependencyProperty