ComponentOne Xamarin Edition
Controls > Gauge > Features > Animation

Gauges come with in-built animations to improve their appearance. The IsAnimated property allows you to enable or disable the animation effects. The LoadAnimation and UpdateAnimation properties enable you to set the easing, duration and other animation-related attributes.

The following code example demonstrates how to set this property in C#. These example uses the sample created in the Quick start.

Copy Code
gauge.IsAnimated = true;
gauge.LoadAnimation.Easing = Easing.CubicInOut;
gauge.UpdateAnimation.Easing = Easing.BounceOut;