AnimatedGlobalNavigationButtonVisualSource Class

Definition

Represents an animation for a navigation menu that can be used as an animated icon source.

C#
[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 AnimatedGlobalNavigationButtonVisualSource : IAnimatedVisualSource2
Inheritance
Object AnimatedGlobalNavigationButtonVisualSource
Attributes
Implements

Remarks

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

Supported IAnimatedVisualSource2.Markers for AnimatedIcon.State:

  • NormalToPointerOver
  • NormalToPressed
  • PointerOverToNormal
  • PointerOverToPressed
  • PressedToNormal
  • PressedToPointerOver

Constructors

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 AnimatedGlobalNavigationButtonVisualSource object for an AnimatedIcon.

Applies to

Produkt Wersje
Windows App SDK 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also