AnimatedFindVisualSource Klasse

Definition

Stellt eine Animation für eine Lupe dar, die als animierte Symbolquelle verwendet werden kann.

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

Hinweise

Dies kann als Quelle einer .AnimatedIcon Sie wird vom AutoSuggestBox-Steuerelement verwendet.

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

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

Konstruktoren

Name Beschreibung
AnimatedFindVisualSource()

Initialisiert eine neue Instanz der AnimatedFindVisualSource-Klasse .

Eigenschaften

Name Beschreibung
Markers

Stellt eine Zuordnung von Markierungsnamen zu Wiedergabepositionen im animierten Visuellen für ein AnimatedIcon bereit.

Methoden

Name Beschreibung
SetColorProperty(String, Color)

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

TryCreateAnimatedVisual(Compositor, Object)

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

Gilt für:

Weitere Informationen