BrushTransition 类

定义

提供元素的画笔更改时的动画过渡行为。 当前仅限于对象之间的 SolidColorBrush 更改。

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BrushTransition
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class BrushTransition
Public Class BrushTransition
继承
Object IInspectable BrushTransition
属性

构造函数

BrushTransition()

初始化 BrushTransition 类的新实例。

属性

Duration

获取或设置转换的持续时间。

适用于