This tutorial demonstrates configuring RadRotator at design-time, then running the animation at design time and run time. This example displays a series of images and one web site.
- In a new Windows Application, set the form Size property to 500,500.
- Drop a RadRotator on the form and set the Dock property to Fill.
- In the Property Window click the ellipses for the Items property. This step will launch the Rad Items Collection Editor.
- In the Rad Items Collection Editor, click the Add split button arrow to display the types that can be used by RadRotator.
- Locate and click the RadImageItem.
- In the Rad Items Collection Editor properties, click the Image property ellipses.
- In the Select Resource dialog, click the Local Resource radio button, click the Import button and open any image file. The "Sample Pictures" distributed with Windows can be used too.
- Click OK to close the Select Resource dialog.
- Add three more RadImageItems.
- Add a RadWebBrowserItem to the collection. Set the Url property to http://www.telerik.com.
- Click OK to close the RadItem Collection Editor.
- In the designer, notice the controls in the upper left of the RadRotator. Click the ">" button and observe that you can navigate through the items at design time.
- In the Properties window for the RadRotator, set the Running property to true.
- Press F5 to run the application.