C# Class Yunan.WPF.ImageAnim.AnimationImage

Inheritance: System.Windows.Controls.UserControl
Show file Open project: hansuky/Yuhan Class Usage Examples

Public Properties

Property Type Description
ForceGifAnimProperty System.Windows.DependencyProperty
ImageFailedEvent System.Windows.RoutedEvent
SourceProperty System.Windows.DependencyProperty
StretchDirectionProperty System.Windows.DependencyProperty
StretchProperty System.Windows.DependencyProperty

Public Methods

Method Description
AnimationImage ( ) : System

Private Methods

Method Description
CreateFromSourceString ( string source ) : void
CreateGifAnimation ( MemoryStream memoryStream ) : void
CreateNonGifAnimationImage ( ) : void
DeletePreviousImage ( ) : void
GetGifStreamFromHttp ( Uri uri ) : void
GetGifStreamFromPack ( Uri uri ) : void
OnSourceChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnStretchChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnStretchDirectionChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RaiseImageFailedEvent ( Exception exp ) : void
ReadGifStreamSynch ( Stream s ) : void
WebReadCallback ( IAsyncResult asyncResult ) : void
WebRequestError ( Exception exp ) : void
WebRequestFinished ( MemoryStream memoryStream ) : void
WebResponseCallback ( IAsyncResult asyncResult ) : void
_image_ImageFailed ( object sender, System.Windows.ExceptionRoutedEventArgs e ) : void

Method Details

AnimationImage() public method

public AnimationImage ( ) : System
return System

Property Details

ForceGifAnimProperty public static property

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

ImageFailedEvent public static property

public static RoutedEvent,System.Windows ImageFailedEvent
return System.Windows.RoutedEvent

SourceProperty public static property

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

StretchDirectionProperty public static property

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

StretchProperty public static property

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