Share via


AnimatedChevronRightDownSmallVisualSource 類別

定義

代表從右到下旋轉的形箭號動畫,可用來做為動畫圖標來源。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public ref class AnimatedChevronRightDownSmallVisualSource 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 AnimatedChevronRightDownSmallVisualSource 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 AnimatedChevronRightDownSmallVisualSource : IAnimatedVisualSource2
Public NotInheritable Class AnimatedChevronRightDownSmallVisualSource
Implements IAnimatedVisualSource2
繼承
Object Platform::Object IInspectable AnimatedChevronRightDownSmallVisualSource
屬性
實作

備註

這可作為 的來源AnimatedIconTreeView控制項會使用它。

支援AnimatedIcon.StateIAnimatedVisualSource2.Markers

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

建構函式

AnimatedChevronRightDownSmallVisualSource()

初始化 AnimatedChevronRightDownSmallVisualSource 類別的新實例。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

屬性

Markers

提供從標記名稱到 AnimatedIcon動畫視覺效果中播放位置的對應。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

方法

SetColorProperty(String, Color)

設定 AnimatedIcon的動畫視覺效果色彩。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

TryCreateAnimatedVisual(Compositor, Object)

嘗試建立AnimatedIcon物件的實例 AnimatedChevronRightDownSmallVisualSource

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

適用於

另請參閱