Show / Hide Table of Contents

Class Storyboard

Implements parent for all animations, storyboard starts/updates all its children

Inheritance
System.Object
DependencyObject
Freezable
Storyboard
Inherited Members
Freezable.IsFrozen
Freezable.Parent
Freezable.Changed
Freezable.Freeze()
Freezable.OnPropertyChanged(DependencyProperty)
DependencyObject.DependencyObjectType
DependencyObject.IsSealed
DependencyObject.Equals(Object)
DependencyObject.GetHashCode()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.GetLocalValueEnumerator()
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.SetBinding(DependencyProperty, Binding)
DependencyObject.SetResourceReference(DependencyProperty, Object)
Namespace: EmptyKeys.UserInterface.Media.Animation
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class Storyboard : Freezable

Constructors

Storyboard()

Initializes a new instance of the Storyboard class.

Declaration
public Storyboard()

Fields

ChildrenProperty

The children property

Declaration
public static readonly DependencyProperty ChildrenProperty
Field Value
Type Description
DependencyProperty

TargetNameProperty

The target name property

Declaration
public static readonly DependencyProperty TargetNameProperty
Field Value
Type Description
DependencyProperty

TargetProperty

The target dependence property

Declaration
public static readonly DependencyProperty TargetProperty
Field Value
Type Description
DependencyProperty

TargetPropertyProperty

The target property dependence property

Declaration
public static readonly DependencyProperty TargetPropertyProperty
Field Value
Type Description
DependencyProperty

Properties

Children

Gets or sets the children.

Declaration
public List<Timeline> Children { get; set; }
Property Value
Type Description
System.Collections.Generic.List<Timeline>

The children.

Name

Gets or sets the name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

Methods

Begin(UIElement)

Start animations

Declaration
public void Begin(UIElement host)
Parameters
Type Name Description
UIElement host

The host.

GetTarget(DependencyObject)

Gets the target.

Declaration
public static DependencyObject GetTarget(DependencyObject element)
Parameters
Type Name Description
DependencyObject element

The element.

Returns
Type Description
DependencyObject
Exceptions
Type Condition
System.ArgumentNullException

element

GetTargetName(DependencyObject)

Gets the name of the target.

Declaration
public static string GetTargetName(DependencyObject element)
Parameters
Type Name Description
DependencyObject element

The element.

Returns
Type Description
System.String
Exceptions
Type Condition
System.ArgumentNullException

element

GetTargetProperty(DependencyObject)

Gets the target property.

Declaration
public static DependencyProperty GetTargetProperty(DependencyObject element)
Parameters
Type Name Description
DependencyObject element

The element.

Returns
Type Description
DependencyProperty
Exceptions
Type Condition
System.ArgumentNullException

element

SetTarget(DependencyObject, DependencyObject)

Sets the target.

Declaration
public static void SetTarget(DependencyObject element, DependencyObject value)
Parameters
Type Name Description
DependencyObject element

The element.

DependencyObject value

The value.

Exceptions
Type Condition
System.ArgumentNullException

element

SetTargetName(DependencyObject, String)

Sets the name of the target.

Declaration
public static void SetTargetName(DependencyObject element, string name)
Parameters
Type Name Description
DependencyObject element

The element.

System.String name

The name.

Exceptions
Type Condition
System.ArgumentNullException

element or name

SetTargetProperty(DependencyObject, DependencyProperty)

Sets the target property.

Declaration
public static void SetTargetProperty(DependencyObject element, DependencyProperty property)
Parameters
Type Name Description
DependencyObject element

The element.

DependencyProperty property

The property.

Exceptions
Type Condition
System.ArgumentNullException

element or property

Stop(UIElement)

Stops animations

Declaration
public void Stop(UIElement host)
Parameters
Type Name Description
UIElement host

The host.

Update(Double)

Updates animations

Declaration
public void Update(double elapsedGameTime)
Parameters
Type Name Description
System.Double elapsedGameTime

The elapsed game time.

Back to top Generated by DocFX