C# Class DdsPlay.Controls.DeckShape

Interaction logic for DeckShape.xaml
Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: anorsich/dds.net Class Usage Examples

Méthodes publiques

Méthode Description
DeckShape ( ) : System
GetNextCardPosition ( ) : Point
UpdateCardShapes ( ) : void

Recalculate all the card positions and animate them to the new positions Should be called when the deck change its cards order or count

Private Methods

Méthode Description
DeckSortChanged ( object sender, EventArgs e ) : void

Handles the SortChanged event of the deck control.

RectBorderBackMouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
RectBorderBackMouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
RectBorderBackMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
RectBorderBackMouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
RectBorderBackMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Method Details

DeckShape() public méthode

public DeckShape ( ) : System
Résultat System

GetNextCardPosition() public méthode

public GetNextCardPosition ( ) : Point
Résultat Point

UpdateCardShapes() public méthode

Recalculate all the card positions and animate them to the new positions Should be called when the deck change its cards order or count
public UpdateCardShapes ( ) : void
Résultat void