Sprache

AnimatedAcceptVisualSource Klasse

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
Vererbung
Object Platform::Object IInspectable AnimatedAcceptVisualSource
Attribute
Implementiert

Hinweise

Dies kann als Quelle eines AnimatedIconverwendet werden.

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

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

Konstruktoren

Name Beschreibung
AnimatedAcceptVisualSource()

Initialisiert eine neue Instanz der AnimatedAcceptVisualSource-Klasse .

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

Eigenschaften

Name Beschreibung
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 im Windows App SDK siehe Windows App SDK Namespaces).

Methoden

Name Beschreibung
SetColorProperty(String, Color)

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

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

TryCreateAnimatedVisual(Compositor, Object)

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

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

Gilt für:

Weitere Informationen