30 Jun 2017 / 1 minute to read
Tilt Non Selected Items
RotationAngle property in the SfCarousel control is used to rotate all the items in a specified angle.
If the angle value is positive, then the rotation is in the clockwise direction. If the angle value is negative, the rotation is in the counterclockwise direction.
This angle can also be specified from 0 to 360.
SfCarousel carousel = new SfCarousel(this); carousel.RotationAngle=40;
Set Gap between Unselected Items
Specify the distance between the items in SfCarousel panel using
The default value is 20.
SfCarousel carousel = new SfCarousel(this); carousel.Offset=30;
Set Gap between Selected Item and Unselected Item
Distance between the selected item and other items can be customized by using
The default value is 0.
SfCarousel carousel = new SfCarousel(this); carousel.SelectedItemOffset=5;
Set Scaling for Carousel Items
ScaleOffset property in the SfCarousel control is used to scale all the unselected items to the specified scale value.
Spacing between the Items in Linear mode
Spacing of all the items in Linear mode can be determined by using
SfCarousel carousel = new SfCarousel(); carousel.ItemSpacing=5; carousel.ViewMode=ViewMode.Linear;