New to Telerik UI for WPFStart a free 30-day trial

Repeating opacity pulse animation that alternates the target's opacity between MinOpacity and MaxOpacity over (defaults to 1.2 seconds). The cycle has four equal phases: fade down, hold, fade up, hold.

Definition

Constructors

Initializes a new instance of the PulseOpacityAnimation class.

C#
public PulseOpacityAnimation()

Properties

Gets or sets a value that describes the maximum opacity during the animation.

C#
public double MaxOpacity { get; set; }

Gets or sets a value that describes the minimum opacity during the animation.

C#
public double MinOpacity { get; set; }

Methods

Creates the animation.

C#
protected override Storyboard CreateAnimationOverride(FrameworkElement control, FrameworkElement target)
Parameters:controlFrameworkElement

The control for which the animation is needed.

targetFrameworkElement

The targeted element of the animation.

Returns:

Storyboard

The newly created animation.

Overrides: BaseAnimation.CreateAnimationOverride(FrameworkElement, FrameworkElement)

Updates the animation.

C#
protected override void UpdateAnimationOverride(FrameworkElement control, Storyboard storyboard, FrameworkElement target, params object[] args)
Parameters:controlFrameworkElement

The control for which the animation needs to be updated.

storyboardStoryboard

Storyboard that needs to be updated.

targetFrameworkElement

The targeted element of the animation.

argsobject[]

Overrides: BaseAnimation.UpdateAnimationOverride(FrameworkElement, Storyboard, FrameworkElement, params object[])