Dela via


AcrylicBrush.TintTransitionDuration Property

Definition

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

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Media.AcrylicBrush.TintTransitionDuration (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property TimeSpan TintTransitionDuration { TimeSpan get(); void set(TimeSpan value); };
TimeSpan TintTransitionDuration();

void TintTransitionDuration(TimeSpan value);
public System.TimeSpan TintTransitionDuration { get; 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.

Applies to