C# Класс WinRTXamlToolkit.Controls.Extensions.AnimationHelper

A simple pair of helper attached dependency properties that allows to configure a single Storyboard to run on an element.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
IsPlayingProperty Windows.UI.Xaml.DependencyProperty
StoryboardProperty Windows.UI.Xaml.DependencyProperty

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
OnIsPlayingChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsPlaying property.

OnStoryboardChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Storyboard property.

Описание методов

GetIsPlaying() публичный статический Метод

Gets the IsPlaying property. This dependency property indicates whether the storyboard is playing.
public static GetIsPlaying ( DependencyObject d ) : bool
d Windows.UI.Xaml.DependencyObject
Результат bool

GetStoryboard() публичный статический Метод

Gets the Storyboard property. This dependency property indicates the storyboard to play.
public static GetStoryboard ( DependencyObject d ) : Storyboard
d Windows.UI.Xaml.DependencyObject
Результат Windows.UI.Xaml.Media.Animation.Storyboard

SetIsPlaying() публичный статический Метод

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
Результат void

SetStoryboard() публичный статический Метод

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
Результат void

Описание свойств

IsPlayingProperty публичное статическое свойство

IsPlaying Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsPlayingProperty
Результат Windows.UI.Xaml.DependencyProperty

StoryboardProperty публичное статическое свойство

Storyboard Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml StoryboardProperty
Результат Windows.UI.Xaml.DependencyProperty