Share via


AnimationEffectTarget Enum

Definition

Specifies a participant in an animation.

public enum class AnimationEffectTarget
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Core.AnimationMetrics.AnimationMetricsContract, 65536)]
enum class AnimationEffectTarget
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Core.AnimationMetrics.AnimationMetricsContract), 65536)]
public enum AnimationEffectTarget
var value = Windows.UI.Core.AnimationMetrics.AnimationEffectTarget.primary
Public Enum AnimationEffectTarget
Inheritance
AnimationEffectTarget
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.UI.Core.AnimationMetrics.AnimationMetricsContract (introduced in v1.0)

Fields

Name Value Description
Primary 0

The only participant in an single-target animation.

Added 1

Objects that are being added.

Affected 2

Objects affected by the animation, such as objects that move out of the way when another object is dropped between them.

Background 3

The background object of the item.

Content 4

The content of the item.

Deleted 5

Objects that are being deleted.

Deselected 6

Objects that have been deselected through a cross-slide deselect interaction.

DragSource 7

Objects that are being dragged.

Hidden 8

Objects that are currently hidden.

Incoming 9

New content to replace old content.

Outgoing 10

Old content that is being replaced by new content.

Outline 11

An outline border around an area.

Remaining 12

Objects that are left behind after other items have been removed.

Revealed 13

Objects that become visible in an expansion.

RowIn 14

A row that is being added to a grid.

RowOut 15

A row that is about to be removed from a grid.

Selected 16

Objects that are selected through a cross-slide select interaction.

Selection 17

Objects, such as checkmarks, that indicate that an item is selected.

Shown 18

Objects previously invisible that are becoming visible.

Tapped 19

Objects that have been tapped or clicked on.

Remarks

The AnimationDescription constructor uses the values of this enumeration to specify the animation target. The definition of each value can sometimes depend on which animation effectis being performed.

Not all animations can be applied to all targets. See the specific documentation and guidance for an animation to determine which targets are supported.

Applies to

See also