AnimatedAcceptVisualSource 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示可做為動畫圖標來源之核取記號的動畫。
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
- 繼承
- 屬性
- 實作
備註
這可作為 的來源AnimatedIcon
。 XAML CheckBox 控制項會使用它。
支援AnimatedIcon.State的IAnimatedVisualSource2.Markers:
- NormalIndeterminate
- NormalOffToNormalOn
- NormalOffToPointerOverOff
- NormalOffToPressedOff
- NormalOnToNormalOff
- NormalOnToPointerOverOn
- NormalOnToPressedOn
- PointerOverIndeterminate
- PointerOverOffToNormalOff
- PointerOverOffToPointerOverOn
- PointerOverOffToPressedOff
- PointerOverOnToNormalOn
- PointerOverOnToPointerOverOff
- PointerOverOnToPressedOn
- PressedIndeterminate
- PressedOffToNormalOn
- PressedOffToPointerOverOn
- PressedOffToPressedOn
- PressedOnToNormalOff
- PressedOnToPointerOverOff
- PressedOnToPressedOff
建構函式
AnimatedAcceptVisualSource() |
初始化 AnimatedAcceptVisualSource 類別的新實例。 |
屬性
Markers |
提供從標記名稱到 AnimatedIcon動畫視覺效果中播放位置的對應。 |
方法
SetColorProperty(String, Color) |
設定 AnimatedIcon的動畫視覺效果色彩。 |
TryCreateAnimatedVisual(Compositor, Object) |
嘗試建立AnimatedIcon物件的實例 |