Share via


AnimatedAcceptVisualSource Class

Definition

public ref class AnimatedAcceptVisualSource 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 AnimatedAcceptVisualSource 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 AnimatedAcceptVisualSource : IAnimatedVisualSource2
Public NotInheritable Class AnimatedAcceptVisualSource
Implements IAnimatedVisualSource2
Inheritance
Object Platform::Object IInspectable AnimatedAcceptVisualSource
Attributes
Implements

Remarks

This can be used as the Source of an AnimatedIcon.

Supported IAnimatedVisualSource2.Markers for AnimatedIcon.State:

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

Constructors

AnimatedAcceptVisualSource()

Initializes a new instance of the AnimatedAcceptVisualSource class.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Properties

Markers

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

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Methods

SetColorProperty(String, Color)

Sets the color of the animated visual for an AnimatedIcon.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TryCreateAnimatedVisual(Compositor, Object)

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

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Applies to

See also