DXViewBase.ColorTo(Color, Color, Int32) Method
In This Article
Changes background and border colors with a smooth animation effect. The ColorTo
method returns the Task that ends when animation completes.
Namespace: DevExpress.Maui.Core
Assembly: DevExpress.Maui.Core.dll
NuGet Package: DevExpress.Maui.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
border |
Color | The border color. |
background |
Color | The background color. |
duration | Int32 | The animation duration. |
#Returns
Type | Description |
---|---|
Task | An operation that executes asynchronously and completes when the animation completes. |
See Also