C# Class WinRTXamlToolkit.Controls.Extensions.AnimationHelper

A simple pair of helper attached dependency properties that allows to configure a single Storyboard to run on an element.
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Свойство Type Description
IsPlayingProperty Windows.UI.Xaml.DependencyProperty
StoryboardProperty Windows.UI.Xaml.DependencyProperty

Méthodes publiques

Méthode Description
GetIsPlaying ( DependencyObject d ) : bool

Gets the IsPlaying property. This dependency property indicates whether the storyboard is playing.

GetStoryboard ( DependencyObject d ) : Storyboard

Gets the Storyboard property. This dependency property indicates the storyboard to play.

SetIsPlaying ( DependencyObject d, bool value ) : void

Sets the IsPlaying property. This dependency property indicates whether the storyboard is playing.

SetStoryboard ( DependencyObject d, Storyboard value ) : void

Sets the Storyboard property. This dependency property indicates the storyboard to play.

Private Methods

Méthode Description
OnIsPlayingChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsPlaying property.

OnStoryboardChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Storyboard property.

Method Details

GetIsPlaying() public static méthode

Gets the IsPlaying property. This dependency property indicates whether the storyboard is playing.
public static GetIsPlaying ( DependencyObject d ) : bool
d Windows.UI.Xaml.DependencyObject
Résultat bool

GetStoryboard() public static méthode

Gets the Storyboard property. This dependency property indicates the storyboard to play.
public static GetStoryboard ( DependencyObject d ) : Storyboard
d Windows.UI.Xaml.DependencyObject
Résultat Windows.UI.Xaml.Media.Animation.Storyboard

SetIsPlaying() public static méthode

Sets the IsPlaying property. This dependency property indicates whether the storyboard is playing.
public static SetIsPlaying ( DependencyObject d, bool value ) : void
d Windows.UI.Xaml.DependencyObject
value bool
Résultat void

SetStoryboard() public static méthode

Sets the Storyboard property. This dependency property indicates the storyboard to play.
public static SetStoryboard ( DependencyObject d, Storyboard value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Xaml.Media.Animation.Storyboard
Résultat void

Property Details

IsPlayingProperty public_oe static_oe property

IsPlaying Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsPlayingProperty
Résultat Windows.UI.Xaml.DependencyProperty

StoryboardProperty public_oe static_oe property

Storyboard Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml StoryboardProperty
Résultat Windows.UI.Xaml.DependencyProperty