Udostępnij za pośrednictwem


AnimatedChevronRightDownSmallVisualSource Class

Definition

Represents an animation for a chevron that rotates from right to down that can be used as an animated icon source.

public ref class AnimatedChevronRightDownSmallVisualSource sealed : IAnimatedVisualSource2
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.XamlContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AnimatedChevronRightDownSmallVisualSource final : IAnimatedVisualSource2
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.XamlContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AnimatedChevronRightDownSmallVisualSource : IAnimatedVisualSource2
Public NotInheritable Class AnimatedChevronRightDownSmallVisualSource
Implements IAnimatedVisualSource2
Inheritance
Object Platform::Object IInspectable AnimatedChevronRightDownSmallVisualSource
Attributes
Implements

Remarks

This can be used as the Source of an AnimatedIcon. It is used by the TreeView control.

Supported IAnimatedVisualSource2.Markers for AnimatedIcon.State:

  • NormalOffToNormalOn
  • NormalOffToPointerOverOff
  • NormalOffToPressedOff
  • NormalOnToNormalOff
  • NormalOnToPointerOverOn
  • NormalOnToPressedOn
  • PointerOverOffToNormalOff
  • PointerOverOffToPointerOverOn
  • PointerOverOffToPressedOff
  • PointerOverOnToNormalOn
  • PointerOverOnToPointerOverOff
  • PointerOverOnToPressedOn
  • PressedOffToNormalOn
  • PressedOffToPointerOverOn
  • PressedOffToPressedOn
  • PressedOnToNormalOff
  • PressedOnToPointerOverOff
  • PressedOnToPressedOff

Constructors

AnimatedChevronRightDownSmallVisualSource()

Initializes a new instance of the AnimatedChevronRightDownSmallVisualSource class.

Properties

Markers

Provides a mapping from marker names to playback positions in the animated visual for an AnimatedIcon.

Methods

SetColorProperty(String, Color)

Sets the color of the animated visual for an AnimatedIcon.

TryCreateAnimatedVisual(Compositor, Object)

Attempts to create an instance of an AnimatedChevronRightDownSmallVisualSource object for an AnimatedIcon.

Applies to

See also