DXViewBase.ColorTo(Color, Color, Int32) Method
Changes the background and border color with with a smooth animation effect.
Namespace: DevExpress.Maui.Core
Assembly: DevExpress.Maui.Core.dll
NuGet Package: DevExpress.Maui.Core
Declaration
public Task ColorTo(
Color borderColor,
Color backgroundColor,
int duration
)
Parameters
Name | Type | Description |
---|---|---|
borderColor | Color | The border color. |
backgroundColor | Color | The background color. |
duration | Int32 | The animation duration. |
Returns
Type | Description |
---|---|
Task | A single operation that does not return a value and that usually executes asynchronously. |
See Also