C# Class CapgeminiSurface.MenuCard

Show file Open project: smalice/SurfaceWPFApp Class Usage Examples

Public Properties

Property Type Description
CardOut bool
CurrentState States
OneCardOut bool
SetZorder EventHandler

Public Methods

Method Description
AfterContactdown ( ContactEventArgs e ) : void

AfterOnTapGesture ( ContactEventArgs e ) : void
AfterTapReset ( ) : void

FadeInCardAnimation ( ) : void
FadeOutCardAnimation ( ) : void
MenuCard ( ) : System
OnManipulationDelta ( object sender, Affine2DOperationDeltaEventArgs e ) : void

Rotation of MenuCard using ManipulationProcessor

Protected Methods

Method Description
OnContactDown ( ContactEventArgs e ) : void

Override of ContactDown on ManuCard. If Card is in rotation state the SetZorder method is called.

OnContactTapGesture ( ContactEventArgs e ) : void

Override of ContactTapGesture for MenuCard

Private Methods

Method Description
AfterContactDownAnimation ( ) : void
InitializeManipulationProcessor ( ) : void

Initializer for ManipulationProcessor of MenuCard

OnTapAnimation ( ) : void
OnTapAnimationIn ( ) : void
PlayAnimation ( String name, System.Boolean play, System.Boolean remove ) : void
PlaySound ( UnmanagedMemoryStream unmanagedMemoryStream ) : void
RemoveCurrentAnimation ( ) : void

Method Details

AfterContactdown() public method

public AfterContactdown ( ContactEventArgs e ) : void
e ContactEventArgs
return void

AfterOnTapGesture() public method

public AfterOnTapGesture ( ContactEventArgs e ) : void
e ContactEventArgs
return void

AfterTapReset() public method

public AfterTapReset ( ) : void
return void

FadeInCardAnimation() public method

public FadeInCardAnimation ( ) : void
return void

FadeOutCardAnimation() public method

public FadeOutCardAnimation ( ) : void
return void

MenuCard() public method

public MenuCard ( ) : System
return System

OnContactDown() protected method

Override of ContactDown on ManuCard. If Card is in rotation state the SetZorder method is called.
protected OnContactDown ( ContactEventArgs e ) : void
e ContactEventArgs
return void

OnContactTapGesture() protected method

Override of ContactTapGesture for MenuCard
protected OnContactTapGesture ( ContactEventArgs e ) : void
e ContactEventArgs
return void

OnManipulationDelta() public method

Rotation of MenuCard using ManipulationProcessor
public OnManipulationDelta ( object sender, Affine2DOperationDeltaEventArgs e ) : void
sender object
e Affine2DOperationDeltaEventArgs
return void

Property Details

CardOut public static property

public static bool CardOut
return bool

CurrentState public property

public States CurrentState
return States

OneCardOut public static property

public static bool OneCardOut
return bool

SetZorder public property

public EventHandler SetZorder
return EventHandler