C# Class DdsPlay.Controls.CardShape

Interaction logic for CardShape.xaml
Inheritance: System.Windows.Controls.UserControl
Mostra file Open project: anorsich/dds.net Class Usage Examples

Public Methods

Method Description
CardShape ( ) : System
OnCardDrag ( DeckShape fromDeckShape, DeckShape toDeckShape ) : void
Rotate ( double speedRatio ) : void

Protected Methods

Method Description
AniFlipStartCompleted ( object sender, EventArgs e ) : void

Event handler for the flip start animation completed event.

Private Methods

Method Description
CardDeckChanged ( object sender, EventArgs e ) : void

Event handler for the card deck property changed event.

CardVisibleChanged ( object sender, EventArgs e ) : void

Event handler for the card visible property changed event.

ImgCardMouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Event handler for the image card mouse enter event.

ImgCardMouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Event handler for the Image Card mouse leave event.

ImgCardMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Event handler for the image card mouse left button down event.

ImgCardMouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Event handler for the image card mouse left button up.

ImgCardMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Event handler for the image card mouse move event.

Method Details

AniFlipStartCompleted() protected method

Event handler for the flip start animation completed event.
protected AniFlipStartCompleted ( object sender, EventArgs e ) : void
sender object The sender.
e System.EventArgs The instance containing the event data.
return void

CardShape() public method

public CardShape ( ) : System
return System

OnCardDrag() public method

public OnCardDrag ( DeckShape fromDeckShape, DeckShape toDeckShape ) : void
fromDeckShape DeckShape
toDeckShape DeckShape
return void

Rotate() public method

public Rotate ( double speedRatio ) : void
speedRatio double
return void