Share via


AnimatedSettingsVisualSource Klasse

Definition

Stellt eine Animation für ein Einstellungssymbol dar, das 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 AnimatedSettingsVisualSource 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 AnimatedSettingsVisualSource 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 AnimatedSettingsVisualSource : IAnimatedVisualSource2
Public NotInheritable Class AnimatedSettingsVisualSource
Implements IAnimatedVisualSource2
Vererbung
Object Platform::Object IInspectable AnimatedSettingsVisualSource
Attribute
Implementiert

Hinweise

Dies kann als Quelle eines AnimatedIconverwendet werden.

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

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

Konstruktoren

AnimatedSettingsVisualSource()

Initialisiert eine neue Instanz der AnimatedSettingsVisualSource-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 AnimatedSettingsVisualSourceAnimatedIcon 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