AnimationContext 列舉

定義

指定控制項可以產生動畫效果的各種內容。

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

此列舉支援其成員值的位元組合。

public enum class AnimationContext
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [System.Flags]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Version(1)]
enum class AnimationContext
/// [System.Flags]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
enum class AnimationContext
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[System.Flags]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Version(1)]
public enum AnimationContext
[System.Flags]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum AnimationContext
Public Enum AnimationContext
繼承
AnimationContext
屬性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute FlagsAttribute ExperimentalAttribute VersionAttribute ContractVersionAttribute

欄位

CollectionChangeAdd 1

專案會新增至集合。

CollectionChangeRemove 2

專案會從集合中移除。

CollectionChangeReset 4

集合的變更會還原。

LayoutTransition 8

版面配置已更新。

None 0

不會執行任何動畫。 此為預設值。

適用於

另請參閱