共用方式為


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

取得或設定轉換的持續時間。

適用於