Class RadCarousel
RadCarouses is a control that animates a group of items in Carousel-style rotation.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadCarousel : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Remarks
You can add item to RadCarousel control using Items collection, or through binding
to data by assigning its DataSource properties. In order to manage the display of
great number of items you may need to set the Virtual
Constructors
RadCarousel()
Declaration
public RadCarousel()
Properties
AnimationDelay
Gets or sets the delay in ms. between two frames of animation
Declaration
public int AnimationDelay { get; set; }
Property Value
System.
|
AnimationFrames
Gets ot sets the number of animation frames between two positions
Declaration
public int AnimationFrames { get; set; }
Property Value
System.
|
AnimationsToApply
Gets or sets value indicating which of the predefined animations will be applied to carousel items
Declaration
public Animations AnimationsToApply { get; set; }
Property Value
AutoLoopDirection
Gets or sets a value indicating whether carousel will increment or decrement item indexes when in auto-loop mode.
Declaration
public AutoLoopDirections AutoLoopDirection { get; set; }
Property Value
AutoLoopPauseCondition
Gets or sets a value indicating when carousel will pause looping if in auto-loop mode.
Declaration
public AutoLoopPauseConditions AutoLoopPauseCondition { get; set; }
Property Value
AutoLoopPauseInterval
Gets or sets a value indicating the interval (in seconds) after which the carousel will resume looping when in auto-loop mode.
Declaration
public int AutoLoopPauseInterval { get; set; }
Property Value
System.
|
AutoSize
Gets or sets whether the edit control is auto-sized
Declaration
public override bool AutoSize { get; set; }
Property Value
System.
|
Overrides
ButtonNext
Pressent the Next button
Declaration
public RadRepeatButtonElement ButtonNext { get; }
Property Value
ButtonPositions
Represent the Navigation buttons Positions
Declaration
public virtual NavigationButtonsPosition ButtonPositions { get; set; }
Property Value
ButtonPrevious
Present the Previous button
Declaration
public RadRepeatButtonElement ButtonPrevious { get; }
Property Value
CarouselElement
Gets a reference to the Carousel element, which encapsulates the most of the functionality of RadCarousel
Declaration
public RadCarouselElement CarouselElement { get; }
Property Value
CarouselPath
Declaration
public CarouselParameterPath CarouselPath { get; set; }
Property Value
DataSource
Declaration
public object DataSource { get; set; }
Property Value
System.
|
DefaultSize
Gets the default size of the control.
Declaration
protected override Size DefaultSize { get; }
Property Value
System.
|
EasingType
EnableAnimationOnFormResize
Enable or disable the re-animation of RadCarousel on form maximize, minimize or resize
Declaration
public virtual bool EnableAnimationOnFormResize { get; set; }
Property Value
System.
|
EnableAutoLoop
Gets or sets a value indicating that the Carousel will loop items automatically
Declaration
public bool EnableAutoLoop { get; set; }
Property Value
System.
|
EnableKeyboardNavigation
EnableLooping
Gets or sets value indicating that when item position goes beyond the carousel path, it will be displayed again in the beginning of the carousel path.
Declaration
public bool EnableLooping { get; set; }
Property Value
System.
|
EnableRelativePath
Declaration
public bool EnableRelativePath { get; set; }
Property Value
System.
|
FormattingEnabled
Gets or sets a value indicating whether formatting is applied to the DisplayMember property.
Declaration
public bool FormattingEnabled { get; set; }
Property Value
System.
|
ItemClickDefaultAction
Gets or sets the default action when item is clicked as Carousel
Declaration
public CarouselItemClickAction ItemClickDefaultAction { get; set; }
Property Value
Carousel The item click default action. |
ItemReflectionPercentage
Gets or sets value indicating the height (in percentage - values from 0.0. to 1.0) of reflection that will be painted bellow each carousel item.
Declaration
public double ItemReflectionPercentage { get; set; }
Property Value
System. The item reflection percentage. |
Remarks
0.0 indicates no reflection and 1.0 indicates 100% of the height of the original item
Items
Declaration
[RadEditItemsAction]
[RadDescription("Items", typeof(RadCarouselElement))]
public RadItemCollection Items { get; }
Property Value
MinFadeOpacity
Gets or sets value indicating the minimum value of the opacity applied to items
Declaration
public double MinFadeOpacity { get; set; }
Property Value
System.
|
NavigationButtonsOffset
OpacityChangeCondition
Sets the way opacity is applied to carousel items
Declaration
public OpacityChangeConditions OpacityChangeCondition { get; set; }
Property Value
SelectedIndex
Gets or sets the item in the carousel that is currently selected.
Declaration
public virtual int SelectedIndex { get; set; }
Property Value
System.
|
SelectedItem
Declaration
public virtual object SelectedItem { get; set; }
Property Value
System.
|
SelectedValue
Declaration
public object SelectedValue { get; set; }
Property Value
System.
|
ValueMember
Gets or sets the field from the data source to use as the actual value for the carousel items.
Declaration
public string ValueMember { get; set; }
Property Value
System.
|
VirtualMode
Get or sets value indicating the maximum number of items that will be displayed in the carousel, even when there are more Items in the Items collection. Virtualizing the carousel would significantly improve its performance.
Declaration
public bool VirtualMode { get; set; }
Property Value
System.
|
Remarks
False indicates that all items be displayed. It depends on SelectedIndex, which items are displayed in this case.
VisibleItemCount
Gets or sets the number of items that carousel displays when Virtual
Declaration
public int VisibleItemCount { get; set; }
Property Value
System.
|
Methods
ControlDefinesThemeForElement(RadElement)
Declaration
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters
Rad
|
Returns
System.
|
Overrides
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
Rad
|
Overrides
GetInputElement()
Declaration
protected override RadElement GetInputElement()
Returns
Overrides
OnLoad(Size)
Declaration
protected override void OnLoad(Size desiredSize)
Parameters
System.
|
Overrides
Events
ItemDataBound
Declaration
public event ItemDataBoundEventHandler ItemDataBound
Event Type
NewCarouselItemCreating
Declaration
public event NewCarouselItemCreatingEventHandler NewCarouselItemCreating
Event Type
SelectedIndexChanged
Declaration
public event EventHandler SelectedIndexChanged
Event Type
System.
|
SelectedItemChanged
Declaration
public event EventHandler SelectedItemChanged
Event Type
System.
|
SelectedValueChanged
Declaration
public event EventHandler SelectedValueChanged
Event Type
System.
|