C# Class Sanguosha.UI.Controls.CardStack

Inheritance: System.Windows.Controls.Canvas
Afficher le fichier Open project: RagingBigFemaleBird/sgs Class Usage Examples

Méthodes publiques

Méthode Description
AddCards ( IList cards ) : void
AddCards ( IList cards ) : void
AppendCards ( IList cards ) : void
CardStack ( ) : System
RearrangeCards ( ) : void
RearrangeCards ( IList cards ) : void

Arrange children cards in this stack.

Assumes that all cards have the same width.

RemoveCards ( IList cards ) : void

Méthodes protégées

Méthode Description
ComputeDragCardNewIndex ( ) : int
RegisterCardEvents ( Sanguosha.UI.Controls.CardView card ) : void
UnregisterCardEvents ( Sanguosha.UI.Controls.CardView card ) : void

Private Methods

Méthode Description
CardStack_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

Method Details

AddCards() public méthode

public AddCards ( IList cards ) : void
cards IList
Résultat void

AddCards() public méthode

public AddCards ( IList cards ) : void
cards IList
Résultat void

AppendCards() public méthode

public AppendCards ( IList cards ) : void
cards IList
Résultat void

CardStack() public méthode

public CardStack ( ) : System
Résultat System

ComputeDragCardNewIndex() protected méthode

protected ComputeDragCardNewIndex ( ) : int
Résultat int

RearrangeCards() public méthode

public RearrangeCards ( ) : void
Résultat void

RearrangeCards() public méthode

Arrange children cards in this stack.
Assumes that all cards have the same width.
public RearrangeCards ( IList cards ) : void
cards IList
Résultat void

RegisterCardEvents() protected méthode

protected RegisterCardEvents ( Sanguosha.UI.Controls.CardView card ) : void
card Sanguosha.UI.Controls.CardView
Résultat void

RemoveCards() public méthode

public RemoveCards ( IList cards ) : void
cards IList
Résultat void

UnregisterCardEvents() protected méthode

protected UnregisterCardEvents ( Sanguosha.UI.Controls.CardView card ) : void
card Sanguosha.UI.Controls.CardView
Résultat void