Article relates to
RadControls for WinForms
Angel Kanchev, Telerik
Feb 04, 2009
Last modified by
Nikolay Diyanov, Telerik
The result is border which rotates its colors non-stop.
If we make some slight modifications to the above code snippet, you will be able to use it for different RadButton instances. In addition, you will not need to edit every button by the Edit UI Element editor. Please refer to the code snippet below:
As you can see, we call the ApplyStyleToButton method twice passing different RadButton instances. The animation settings will be applied to both of them.
Regarding VB.NET, please refer to the snippet below: