C# Class XamlAnimatedGif.AnimationBehavior

Afficher le fichier Open project: thomaslevesque/XamlAnimatedGif Class Usage Examples

Méthodes publiques

Свойство Type Description
AnimateInDesignModeProperty DependencyProperty
AnimatorProperty DependencyProperty
AutoStartProperty DependencyProperty
DownloadProgressEvent System.Windows.RoutedEvent
ErrorEvent System.Windows.RoutedEvent
LoadedEvent System.Windows.RoutedEvent
RepeatBehaviorProperty DependencyProperty
SourceStreamProperty DependencyProperty
SourceUriProperty DependencyProperty

Méthodes publiques

Méthode Description
AddDownloadProgressHandler ( DependencyObject d, DownloadProgressEventHandler handler ) : void
AddErrorHandler ( DependencyObject d, AnimationErrorEventHandler handler ) : void
AddLoadedHandler ( DependencyObject d, RoutedEventHandler handler ) : void
GetAnimateInDesignMode ( DependencyObject obj ) : bool
GetAnimator ( DependencyObject obj ) : XamlAnimatedGif.Animator
RemoveDownloadProgressHandler ( DependencyObject d, DownloadProgressEventHandler handler ) : void
RemoveErrorHandler ( DependencyObject d, AnimationErrorEventHandler handler ) : void
RemoveLoadedHandler ( DependencyObject d, RoutedEventHandler handler ) : void
SetAnimateInDesignMode ( DependencyObject obj, bool value ) : void
SetAutoStart ( DependencyObject obj, bool value ) : void
SetRepeatBehavior ( DependencyObject obj, RepeatBehavior value ) : void
SetSourceStream ( DependencyObject obj, Stream value ) : void
SetSourceUri ( Image image, Uri value ) : void

Private Methods

Méthode Description
AnimateInDesignModeChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
AnimatorError ( object sender, XamlAnimatedGif.AnimationErrorEventArgs e ) : void
CheckDesignMode ( Image image, Uri sourceUri, Stream sourceStream ) : bool
ClearAnimatorCore ( Image image ) : void
GetAbsoluteUri ( Image image ) : Uri
GetAutoStart ( DependencyObject obj ) : bool
GetRepeatBehavior ( DependencyObject obj ) : RepeatBehavior
GetSeqNum ( DependencyObject obj ) : int
GetSourceStream ( DependencyObject obj ) : Stream
GetSourceUri ( Image image ) : Uri
Image_Loaded ( object sender, RoutedEventArgs e ) : void
Image_Unloaded ( object sender, RoutedEventArgs e ) : void
InitAnimation ( Image image ) : void
InitAnimationAsync ( Image image, Stream stream, RepeatBehavior repeatBehavior, int seqNum ) : void
InitAnimationAsync ( Image image, Uri sourceUri, RepeatBehavior repeatBehavior, int seqNum ) : void
IsInDesignMode ( DependencyObject obj ) : bool
IsLoaded ( FrameworkElement element ) : bool
OnDownloadProgress ( Image image, int downloadPercentage ) : void
OnError ( Image image, Exception exception, AnimationErrorKind kind ) : void
OnLoaded ( Image sender ) : void
RepeatBehaviorChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void
SetAnimator ( DependencyObject obj, XamlAnimatedGif.Animator value ) : void
SetAnimatorCoreAsync ( Image image, XamlAnimatedGif.Animator animator ) : Task
SetSeqNum ( DependencyObject obj, int value ) : void
SourceChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void

Method Details

AddDownloadProgressHandler() public static méthode

public static AddDownloadProgressHandler ( DependencyObject d, DownloadProgressEventHandler handler ) : void
d DependencyObject
handler DownloadProgressEventHandler
Résultat void

AddErrorHandler() public static méthode

public static AddErrorHandler ( DependencyObject d, AnimationErrorEventHandler handler ) : void
d DependencyObject
handler AnimationErrorEventHandler
Résultat void

AddLoadedHandler() public static méthode

public static AddLoadedHandler ( DependencyObject d, RoutedEventHandler handler ) : void
d DependencyObject
handler RoutedEventHandler
Résultat void

GetAnimateInDesignMode() public static méthode

public static GetAnimateInDesignMode ( DependencyObject obj ) : bool
obj DependencyObject
Résultat bool

GetAnimator() public static méthode

public static GetAnimator ( DependencyObject obj ) : XamlAnimatedGif.Animator
obj DependencyObject
Résultat XamlAnimatedGif.Animator

RemoveDownloadProgressHandler() public static méthode

public static RemoveDownloadProgressHandler ( DependencyObject d, DownloadProgressEventHandler handler ) : void
d DependencyObject
handler DownloadProgressEventHandler
Résultat void

RemoveErrorHandler() public static méthode

public static RemoveErrorHandler ( DependencyObject d, AnimationErrorEventHandler handler ) : void
d DependencyObject
handler AnimationErrorEventHandler
Résultat void

RemoveLoadedHandler() public static méthode

public static RemoveLoadedHandler ( DependencyObject d, RoutedEventHandler handler ) : void
d DependencyObject
handler RoutedEventHandler
Résultat void

SetAnimateInDesignMode() public static méthode

public static SetAnimateInDesignMode ( DependencyObject obj, bool value ) : void
obj DependencyObject
value bool
Résultat void

SetAutoStart() public static méthode

public static SetAutoStart ( DependencyObject obj, bool value ) : void
obj DependencyObject
value bool
Résultat void

SetRepeatBehavior() public static méthode

public static SetRepeatBehavior ( DependencyObject obj, RepeatBehavior value ) : void
obj DependencyObject
value RepeatBehavior
Résultat void

SetSourceStream() public static méthode

public static SetSourceStream ( DependencyObject obj, Stream value ) : void
obj DependencyObject
value Stream
Résultat void

SetSourceUri() public static méthode

public static SetSourceUri ( Image image, Uri value ) : void
image Image
value System.Uri
Résultat void

Property Details

AnimateInDesignModeProperty public_oe static_oe property

public static DependencyProperty AnimateInDesignModeProperty
Résultat DependencyProperty

AnimatorProperty public_oe static_oe property

public static DependencyProperty AnimatorProperty
Résultat DependencyProperty

AutoStartProperty public_oe static_oe property

public static DependencyProperty AutoStartProperty
Résultat DependencyProperty

DownloadProgressEvent public_oe static_oe property

public static RoutedEvent,System.Windows DownloadProgressEvent
Résultat System.Windows.RoutedEvent

ErrorEvent public_oe static_oe property

public static RoutedEvent,System.Windows ErrorEvent
Résultat System.Windows.RoutedEvent

LoadedEvent public_oe static_oe property

public static RoutedEvent,System.Windows LoadedEvent
Résultat System.Windows.RoutedEvent

RepeatBehaviorProperty public_oe static_oe property

public static DependencyProperty RepeatBehaviorProperty
Résultat DependencyProperty

SourceStreamProperty public_oe static_oe property

public static DependencyProperty SourceStreamProperty
Résultat DependencyProperty

SourceUriProperty public_oe static_oe property

public static DependencyProperty SourceUriProperty
Résultat DependencyProperty