BrushTransition Class

Definition

Provides the animated transition behavior when an element's brush changes. Currently limited to changes between SolidColorBrush objects.

/// [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
Inheritance
Object IInspectable BrushTransition
Attributes

Constructors

BrushTransition()

Initializes a new instance of the BrushTransition class.

Properties

Duration

Gets or sets the duration of the transition.

Applies to