SplitCloseThemeAnimation 类

定义

表示使用 拆分 动画隐藏目标 UI 的预配置动画。

public ref class SplitCloseThemeAnimation sealed : Timeline
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SplitCloseThemeAnimation final : Timeline
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class SplitCloseThemeAnimation final : Timeline
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SplitCloseThemeAnimation : Timeline
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class SplitCloseThemeAnimation : Timeline
Public NotInheritable Class SplitCloseThemeAnimation
Inherits Timeline
<SplitCloseThemeAnimation .../>
继承
Object Platform::Object IInspectable DependencyObject Timeline SplitCloseThemeAnimation
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

示例

请参阅 SplitOpenThemeAnimation 中的代码示例。

注解

请注意,设置 Duration 属性不会影响此对象,因为持续时间是预配置的。

构造函数

SplitCloseThemeAnimation()

初始化 SplitCloseThemeAnimation 类的新实例。

属性

AutoReverse

获取或设置一个值,该值指示时间线在完成向前迭代后是否按相反的顺序播放。

(继承自 Timeline)
BeginTime

获取或设置此 时间线 应开始的时间。

(继承自 Timeline)
ClosedLength

获取或设置动画方向上目标元素的初始大小。

ClosedLengthProperty

标识 ClosedLength 依赖属性。

ClosedTarget

获取或设置指定初始剪辑大小的 UI 元素。

ClosedTargetName

获取或设置指定初始剪辑大小的 UI 元素的标识名称。

ClosedTargetNameProperty

标识 ClosedTargetName 依赖属性。

ClosedTargetProperty

标识 ClosedTarget 依赖属性。

ContentTarget

获取或设置将转换的 UI 元素。 通常,这是 由 OpenedTargetNameOpenedTarget 标识的元素的子/部分。

ContentTargetName

获取或设置将转换的 UI 元素的标识名称。 通常,这是 OpenedTargetName 标识的元素的子/部分。

ContentTargetNameProperty

标识 ContentTargetName 依赖属性。

ContentTargetProperty

标识 ContentTarget 依赖属性。

ContentTranslationDirection

获取或设置一个值,该值确定动画运行时内容应转换的方向。

ContentTranslationDirectionProperty

标识 ContentTranslationDirection 依赖属性。

ContentTranslationOffset

获取或设置动画运行时要转换的像素。

ContentTranslationOffsetProperty

标识 ContentTranslationOffset 依赖属性。

Dispatcher

获取与此 对象关联的 CoreDispatcherCoreDispatcher 表示可以访问 UI 线程上的 DependencyObject 的工具,即使代码是由非 UI 线程启动的。

(继承自 DependencyObject)
Duration

获取或设置此时间线播放的时间长度,而不是计数重复。

(继承自 Timeline)
FillBehavior

获取或设置一个值,该值指定动画在其活动周期结束时的行为方式。

(继承自 Timeline)
OffsetFromCenter

获取或设置与 打开 的目标中心的偏移量。

OffsetFromCenterProperty

标识 OffsetFromCenter 依赖属性。

OpenedLength

获取或设置目标 UI 元素的最终大小。

OpenedLengthProperty

标识 OpenedLength 依赖属性。

OpenedTarget

获取或设置将剪裁的 UI 元素。

OpenedTargetName

获取或设置要剪裁的 UI 元素的标识名称。

OpenedTargetNameProperty

标识 OpenedTargetName 依赖属性。

OpenedTargetProperty

标识 OpenedTarget 依赖属性。

RepeatBehavior

获取或设置此时间线的重复行为。

(继承自 Timeline)
SpeedRatio

获取或设置相对于其父级的速率,此时此 时间线的进度。

(继承自 Timeline)

方法

ClearValue(DependencyProperty)

清除依赖属性的本地值。

(继承自 DependencyObject)
GetAnimationBaseValue(DependencyProperty)

返回为依赖属性建立的任何基值,该基值适用于动画未处于活动状态的情况。

(继承自 DependencyObject)
GetValue(DependencyProperty)

DependencyObject 返回依赖属性的当前有效值。

(继承自 DependencyObject)
ReadLocalValue(DependencyProperty)

如果设置了本地值,则返回依赖属性的本地值。

(继承自 DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

注册一个通知函数,用于侦听此 DependencyObject 实例上特定 DependencyProperty 的更改。

(继承自 DependencyObject)
SetValue(DependencyProperty, Object)

设置 DependencyObject 上依赖属性的本地值。

(继承自 DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

取消以前通过调用 RegisterPropertyChangedCallback 注册的更改通知。

(继承自 DependencyObject)

事件

Completed

Storyboard 对象完成播放时发生。

(继承自 Timeline)

适用于

另请参阅