Edit

Share via


AnimationExtensions.Light Method

Definition

Overloads

Light(AnimationSet, Double, Double, Double, Nullable<Color>, EasingType, EasingMode)
Obsolete.

Animates a point light and it's distance.

Light(FrameworkElement, Double, Double, Double, Nullable<Color>, EasingType, EasingMode)
Obsolete.

Animates a point light and it's distance.

Light(AnimationSet, Double, Double, Double, Nullable<Color>, EasingType, EasingMode)

Caution

The Light effect will be removed in a future major release. Please use XamlLight instead

Animates a point light and it's distance.

[System.Obsolete("The Light effect will be removed in a future major release. Please use XamlLight instead")]
public static Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet Light (this Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet animationSet, double distance = 0, double duration = 500, double delay = 0, Windows.UI.Color? color = default, Microsoft.Toolkit.Uwp.UI.Animations.EasingType easingType = Microsoft.Toolkit.Uwp.UI.Animations.EasingType.Default, Windows.UI.Xaml.Media.Animation.EasingMode easingMode = Windows.UI.Xaml.Media.Animation.EasingMode.EaseOut);
[<System.Obsolete("The Light effect will be removed in a future major release. Please use XamlLight instead")>]
static member Light : Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet * double * double * double * Nullable<Windows.UI.Color> * Microsoft.Toolkit.Uwp.UI.Animations.EasingType * Windows.UI.Xaml.Media.Animation.EasingMode -> Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet
<Extension()>
Public Function Light (animationSet As AnimationSet, Optional distance As Double = 0, Optional duration As Double = 500, Optional delay As Double = 0, Optional color As Nullable(Of Color) = Nothing, Optional easingType As EasingType = Microsoft.Toolkit.Uwp.UI.Animations.EasingType.Default, Optional easingMode As EasingMode = Windows.UI.Xaml.Media.Animation.EasingMode.EaseOut) As AnimationSet

Parameters

animationSet
AnimationSet

The animation set.

distance
Double

The distance of the light.

duration
Double

The duration in milliseconds.

delay
Double

The delay. (ignored if duration == 0)

color
Nullable<Color>

The color of the spotlight.

easingType
EasingType

The easing function

easingMode
Windows.UI.Xaml.Media.Animation.EasingMode

The easing mode

Returns

An Animation Set.

Attributes

See also

Applies to

Light(FrameworkElement, Double, Double, Double, Nullable<Color>, EasingType, EasingMode)

Caution

The Light effect will be removed in a future major release. Please use XamlLight instead

Animates a point light and it's distance.

[System.Obsolete("The Light effect will be removed in a future major release. Please use XamlLight instead")]
public static Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet Light (this Windows.UI.Xaml.FrameworkElement associatedObject, double distance = 0, double duration = 500, double delay = 0, Windows.UI.Color? color = default, Microsoft.Toolkit.Uwp.UI.Animations.EasingType easingType = Microsoft.Toolkit.Uwp.UI.Animations.EasingType.Default, Windows.UI.Xaml.Media.Animation.EasingMode easingMode = Windows.UI.Xaml.Media.Animation.EasingMode.EaseOut);
[<System.Obsolete("The Light effect will be removed in a future major release. Please use XamlLight instead")>]
static member Light : Windows.UI.Xaml.FrameworkElement * double * double * double * Nullable<Windows.UI.Color> * Microsoft.Toolkit.Uwp.UI.Animations.EasingType * Windows.UI.Xaml.Media.Animation.EasingMode -> Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet
<Extension()>
Public Function Light (associatedObject As FrameworkElement, Optional distance As Double = 0, Optional duration As Double = 500, Optional delay As Double = 0, Optional color As Nullable(Of Color) = Nothing, Optional easingType As EasingType = Microsoft.Toolkit.Uwp.UI.Animations.EasingType.Default, Optional easingMode As EasingMode = Windows.UI.Xaml.Media.Animation.EasingMode.EaseOut) As AnimationSet

Parameters

associatedObject
Windows.UI.Xaml.FrameworkElement

The associated object.

distance
Double

The value.

duration
Double

The duration.

delay
Double

The delay.

color
Nullable<Color>

The color of the spotlight.

easingType
EasingType

The easing function

easingMode
Windows.UI.Xaml.Media.Animation.EasingMode

The easing mode

Returns

An animation set.

Attributes

Applies to