AnimatedChevronDownSmallVisualSource Klasse

Definition

Stellt eine Animation für einen nach unten gerichteten Chevron dar, der als animierte Symbolquelle verwendet werden kann.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI in der Windows App SDK siehe Windows App SDK Namespaces).

public ref class AnimatedChevronDownSmallVisualSource 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 AnimatedChevronDownSmallVisualSource 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 AnimatedChevronDownSmallVisualSource : IAnimatedVisualSource2
Public NotInheritable Class AnimatedChevronDownSmallVisualSource
Implements IAnimatedVisualSource2
Vererbung
Object Platform::Object IInspectable AnimatedChevronDownSmallVisualSource
Attribute
Implementiert

Hinweise

Dies kann als Quelle eines AnimatedIconverwendet werden. Sie wird von den Steuerelementen DropDownButton und Expander verwendet.

Unterstützt IAnimatedVisualSource2.Markers für AnimatedIcon.State:

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

Konstruktoren

AnimatedChevronDownSmallVisualSource()

Initialisiert eine neue Instanz der AnimatedChevronDownSmallVisualSource-Klasse .

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI in der Windows App SDK siehe Windows App SDK Namespaces).

Eigenschaften

Markers

Stellt eine Zuordnung von Markernamen zu Wiedergabepositionen im animierten Visual für ein AnimatedIcon bereit.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI in der Windows App SDK siehe Windows App SDK Namespaces).

Methoden

SetColorProperty(String, Color)

Legt die Farbe des animierten Visuals für ein AnimatedIcon fest.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI in der Windows App SDK siehe Windows App SDK Namespaces).

TryCreateAnimatedVisual(Compositor, Object)

Versucht, eine Instanz eines Objekts für ein AnimatedChevronDownSmallVisualSourceAnimatedIcon zu erstellen.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI in der Windows App SDK siehe Windows App SDK Namespaces).

Gilt für:

Weitere Informationen