Telerik RadRotator supports (starting from Q3 2010) two additional
RotatorTypes -
CoverFlow and
CoverFlowButtons. Modes can be set using
RotatorType property of the control.
Important: The CoverFlow mode of RadRotator works best, in case there is only a single image in every rotator item. The reflection feature of the CoverFlow mode is supported only in case there is an image in every rotator item. Note that you should specify enough height for the RadRotator so that both its items and its reflection are displayed. As shown in the example, the Height property of the RadRotator is greater than ItemHeight in order to create additional space for the reflection.
- Enabling CoverFlow mode directly on the markup:
- Enabling CoverFlow mode in codebehind:
If the RotatorType="CoverFlowButtons" is set, then the items are moved by clicking the RadRotator's default navigation buttons located on the left and right side of the control.
In this example, RadRotator shows the content of a directory. The images are loaded using the GetFilesInFolder method, shown in the codebehind file.