Volume Control
Application-specific hotkeys for Windows
VolumeControl.WPF.Animations.BrushAnimation Class Reference

Animation type that transitions between two arbitrary Brush instances. More...

Inheritance diagram for VolumeControl.WPF.Animations.BrushAnimation:
Collaboration diagram for VolumeControl.WPF.Animations.BrushAnimation:

Public Member Functions

override object GetCurrentValue (object defaultOriginValue, object defaultDestinationValue, AnimationClock animationClock)
 

Static Public Attributes

static readonly DependencyProperty FromProperty
 The DependencyProperty for From. More...
 
static readonly DependencyProperty ToProperty
 The DependencyProperty for To. More...
 

Protected Member Functions

override Freezable CreateInstanceCore ()
 

Properties

Brush From [get, set]
 Gets or sets the animation's starting brush. More...
 
Brush To [get, set]
 Gets or sets the animation's ending brush. More...
 
override Type TargetPropertyType [get]
 The type of property that can be animated. More...
 

Detailed Description

Animation type that transitions between two arbitrary Brush instances.

Contains code from stackoverflow

.

Member Data Documentation

◆ FromProperty

readonly DependencyProperty VolumeControl.WPF.Animations.BrushAnimation.FromProperty
static
Initial value:
= DependencyProperty.Register(
nameof(From),
typeof(Brush),
typeof(BrushAnimation))
Brush From
Gets or sets the animation's starting brush.
Definition: BrushAnimation.cs:30

The DependencyProperty for From.

◆ ToProperty

readonly DependencyProperty VolumeControl.WPF.Animations.BrushAnimation.ToProperty
static
Initial value:
= DependencyProperty.Register(
nameof(To),
typeof(Brush),
typeof(BrushAnimation))
Brush To
Gets or sets the animation's ending brush.
Definition: BrushAnimation.cs:49

The DependencyProperty for To.

Property Documentation

◆ From

Brush VolumeControl.WPF.Animations.BrushAnimation.From
getset

Gets or sets the animation's starting brush.

Returns
The starting Brush of this animation. The default is null.

Referenced by VolumeControl.WPF.Animations.BrushAnimation.GetCurrentValue().

◆ TargetPropertyType

override Type VolumeControl.WPF.Animations.BrushAnimation.TargetPropertyType
get

The type of property that can be animated.

Returns
Brush

◆ To

Brush VolumeControl.WPF.Animations.BrushAnimation.To
getset

Gets or sets the animation's ending brush.

Returns
The ending Brush of this animation. The default is null.

Referenced by VolumeControl.WPF.Animations.BrushAnimation.GetCurrentValue().


The documentation for this class was generated from the following file: