Share via


AcrylicBrush.TintTransitionDuration Property

Definition

Gets or sets the length of the automatic transition animation used when the TintColor changes.

public:
 property TimeSpan TintTransitionDuration { TimeSpan get(); void set(TimeSpan value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintTransitionDuration")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintTransitionDuration")]
TimeSpan TintTransitionDuration();

void TintTransitionDuration(TimeSpan value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintTransitionDuration")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintTransitionDuration")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintTransitionDuration")]
TimeSpan TintTransitionDuration();

void TintTransitionDuration(TimeSpan value);
public System.TimeSpan TintTransitionDuration { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintTransitionDuration")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintTransitionDuration")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintTransitionDuration")]
public System.TimeSpan TintTransitionDuration { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintTransitionDuration")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="AcrylicBrush::sc_defaultTintTransitionDuration")] set; }
var timeSpan = acrylicBrush.tintTransitionDuration;
acrylicBrush.tintTransitionDuration = timeSpan;
Public Property TintTransitionDuration As TimeSpan

Property Value

The length of the automatic transition animation used when the TintColor changes.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to