C# Class Sanguosha.UI.Animations.FiredImage

Adorner that disables all controls that fall under it
Inheritance: System.Windows.Controls.UserControl
Datei anzeigen Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Properties

Property Type Description
PaletteProperty System.Windows.DependencyProperty
SourceProperty System.Windows.DependencyProperty

Public Methods

Method Description
FiredImage ( ) : System

Constructor for the adorner

Protected Methods

Method Description
OnImageSourceChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnRender ( System drawingContext ) : void

Called to draw on screen

Private Methods

Method Description
CompositionTarget_Rendering ( object sender, EventArgs e ) : void
PropertyChangedCallback ( ) : System
SetupFirePalette ( ) : System
UIPropertyMetadata ( ) : System
_CreateFireGenerator ( ) : void

Method Details

FiredImage() public method

Constructor for the adorner
public FiredImage ( ) : System
return System

OnImageSourceChanged() protected static method

protected static OnImageSourceChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs args ) : void
sender object
args System.Windows.DependencyPropertyChangedEventArgs
return void

OnRender() protected method

Called to draw on screen
protected OnRender ( System drawingContext ) : void
drawingContext System The drawind context in which we can draw
return void

Property Details

PaletteProperty public_oe static_oe property

public static DependencyProperty,System.Windows PaletteProperty
return System.Windows.DependencyProperty

SourceProperty public_oe static_oe property

public static DependencyProperty,System.Windows SourceProperty
return System.Windows.DependencyProperty