Class
RadCarouselElement

Represents the core element that provides carousel functionality with animation and item management capabilities for the RadCarousel control.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadCarouselElement : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IDisposable

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemRadCarouselElement

Implements: IBindableComponentIComponentICustomTypeDescriptorIDisposableINotifyPropertyChangedIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkin

Inherited Members RadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.SetOwnerCollection(RadItemOwnerCollection)RadItem.DisposeManagedResources()RadItem.Select()RadItem.OnSelect()RadItem.Deselect()RadItem.OnDeselect()RadItem.DoKeyDown(KeyEventArgs)RadItem.DoKeyPress(KeyPressEventArgs)RadItem.DoKeyUp(KeyEventArgs)RadItem.OnKeyDown(KeyEventArgs)RadItem.OnKeyPress(KeyPressEventArgs)RadItem.OnKeyUp(KeyEventArgs)RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)RadItem.OnTextChanging(TextChangingEventArgs)RadItem.OnTextChanged(EventArgs)RadItem.OnTextOrientationChanged(EventArgs)RadItem.OnFlipTextChanged(EventArgs)RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadItem.OnMouseDown(MouseEventArgs)RadItem.OnMouseUp(MouseEventArgs)RadItem.OnMouseMove(MouseEventArgs)RadItem.OnMouseLeave(EventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ShouldSerializeProperty(PropertyDescriptor)RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)RadItem.RaiseKeyUp(KeyEventArgs)RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadItem.CallOnGesture(GestureEventArgs)RadItem.OnGesture(GestureEventArgs)RadItem.OnTwoFingerTapGesture(GestureEventArgs)RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadItem.OnRotateGesture(RotateGestureEventArgs)RadItem.OnZoomGesture(ZoomGestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)RadItem.SetThemeValueOverride(RadProperty, object, string)RadItem.SetThemeValueOverride(RadProperty, object, string, string)RadItem.SetThemeValueOverride(RadProperty, object, string, Type)RadItem.ResetThemeValueOverride(RadProperty)RadItem.ResetThemeValueOverride(RadProperty, string)RadItem.ResetThemeValueOverrides()RadItem.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.ShortcutsHandlerRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.KeyDownRadItem.KeyPressRadItem.KeyUpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PaintElement(IGraphics, float, SizeF)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.MeasureOverride(SizeF)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Color, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.GetClipRect()RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.GetStylablePropertiesFilter()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.OnDoubleClick(EventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnBoundsChanged(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetClientRectangle(SizeF)RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.CanFocusRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.ShouldPaintRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

RadCarouselElement()

Declaration

cs-api-definition
public RadCarouselElement()

Properties

AnimationDelay

Gets or sets the delay in milliseconds between animation frames during carousel transitions.

Declaration

cs-api-definition
[Browsable(false)]
public int AnimationDelay { get; set; }

Property Value

int

AnimationFrames

Gets or sets the number of animation frames used during carousel transitions.

Declaration

cs-api-definition
[Browsable(false)]
public int AnimationFrames { get; set; }

Property Value

int

AutoLoopPauseInterval

Gets or sets a value indicating the interval (in seconds) after which the carousel will resume looping when in auto-loop mode.

Declaration

cs-api-definition
public int AutoLoopPauseInterval { get; set; }

Property Value

int

ButtonNext

Gets the next navigation button element used to navigate to the next carousel item.

Declaration

cs-api-definition
[Browsable(false)]
public RadRepeatButtonElement ButtonNext { get; }

Property Value

RadRepeatButtonElement

ButtonPositions

Gets or sets the position of the navigation buttons within the carousel element.

Declaration

cs-api-definition
[Browsable(false)]
public virtual NavigationButtonsPosition ButtonPositions { get; set; }

Property Value

NavigationButtonsPosition

ButtonPrevious

Gets the previous navigation button element used to navigate to the previous carousel item.

Declaration

cs-api-definition
[Browsable(false)]
public RadRepeatButtonElement ButtonPrevious { get; }

Property Value

RadRepeatButtonElement

CarouselItemContainer

Declaration

cs-api-definition
public CarouselItemsContainer CarouselItemContainer { get; }

Property Value

CarouselItemsContainer

CaseSensitive

Gets or sets a value indicating whether sorting of carousel items is case-sensitive.

Declaration

cs-api-definition
[Browsable(true)]
public bool CaseSensitive { get; set; }

Property Value

bool

DataManager

Gets the currency manager that provides data management functionality for data binding.

Declaration

cs-api-definition
protected virtual CurrencyManager DataManager { get; }

Property Value

CurrencyManager

DataSource

Gets or sets the data source that provides data for the carousel items.

Declaration

cs-api-definition
[Browsable(false)]
public object DataSource { get; set; }

Property Value

object

EnableKeyboardNavigation

Gets or sets a value indicating whether the keyboard navigation is enabled.

Declaration

cs-api-definition
[Browsable(true)]
public bool EnableKeyboardNavigation { get; set; }

Property Value

bool

FormattingEnabled

Gets or sets a value indicating whether formatting is applied to the DisplayMember property.

Declaration

cs-api-definition
[Browsable(false)]
public bool FormattingEnabled { get; set; }

Property Value

bool

ItemClickDefaultAction

Gets or sets the default action when item is clicked as CarouselItemClickAction member.

Declaration

cs-api-definition
[Browsable(false)]
public CarouselItemClickAction ItemClickDefaultAction { get; set; }

Property Value

CarouselItemClickAction

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

cs-api-definition
[Browsable(false)]
public double ItemReflectionPercentage { get; set; }

Property Value

double

The item reflection percentage.

Remarks

0.0 indicates no reflection and 1.0 indicates 100% of the height of the original item

Items

Gets a collection of RadItem objects managed by RadCarousel.

Declaration

cs-api-definition
public RadItemCollection Items { get; }

Property Value

RadItemCollection

Remarks

Items are populated automatically when RadCarousel is data-bound. When using Virtualized, carousel displays only VisibleItemCount number of items at a time.

ItemsContainer

Gets the element, which contains all visible carousel items

Declaration

cs-api-definition
public CarouselItemsContainer ItemsContainer { get; }

Property Value

CarouselItemsContainer

NavigationButtonsOffset

Gets or sets the offset for positioning the navigation buttons relative to their default positions.

Declaration

cs-api-definition
[Browsable(false)]
public virtual Size NavigationButtonsOffset { get; set; }

Property Value

Size

SelectedIndex

Gets or sets the zero-based index of the currently selected item in the carousel.

Declaration

cs-api-definition
[Browsable(false)]
public virtual int SelectedIndex { get; set; }

Property Value

int

SelectedItem

Gets or sets the currently selected item in the carousel.

Declaration

cs-api-definition
[Browsable(false)]
[Bindable(true)]
public virtual object SelectedItem { get; set; }

Property Value

object

SelectedValue

Gets or sets the value of the currently selected item in the carousel, based on the ValueMember property.

Declaration

cs-api-definition
[Browsable(false)]
[Bindable(true)]
public object SelectedValue { get; set; }

Property Value

object

ValueMember

Gets or sets the field from the data source to use as the actual value for the carousel items.

Declaration

cs-api-definition
[Browsable(false)]
public string ValueMember { get; set; }

Property Value

string

Methods

ArrangeOverride(SizeF)

Arranges the child elements within the final layout size, positioning the navigation buttons according to their configured position.

Declaration

cs-api-definition
protected override SizeF ArrangeOverride(SizeF finalSize)

Parameters

finalSize

SizeF

The final area within the parent that this element should use to arrange itself and its children.

Returns

SizeF

The actual size used by the element.

Overrides RadElement.ArrangeOverride(SizeF)

BeginUpdate()

Suspends layout updates for the carousel to improve performance during bulk operations.

Declaration

cs-api-definition
public void BeginUpdate()

CreateChildElements()

Creates and initializes the child elements including background, border, carousel container, and navigation buttons.

Declaration

cs-api-definition
protected override void CreateChildElements()

Overrides RadElement.CreateChildElements()

CreateNewCarouselItem()

Creates a new carousel item instance and allows customization through the NewCarouselItemCreating event.

Declaration

cs-api-definition
protected virtual RadItem CreateNewCarouselItem()

Returns

RadItem

A new RadItem instance for the carousel.

DataManagerItemChanged()

Handles complete refresh of items when the data manager notifies of changes.

Declaration

cs-api-definition
protected virtual void DataManagerItemChanged()

DataManagerItemChanged(object, ItemChangedEventArgs)

Handles item changes in the data manager when data binding is used.

Declaration

cs-api-definition
protected virtual void DataManagerItemChanged(object sender, ItemChangedEventArgs e)

Parameters

sender

object

The source of the event.

e

ItemChangedEventArgs

The item changed event arguments containing the index of the changed item.

DataManagerPositionChanged(object, EventArgs)

Handles position changes in the data manager when data binding is used.

Declaration

cs-api-definition
protected virtual void DataManagerPositionChanged(object sender, EventArgs e)

Parameters

sender

object

The source of the event.

e

EventArgs

The event arguments.

EndUpdate()

Resumes layout updates for the carousel after a BeginUpdate() call.

Declaration

cs-api-definition
public void EndUpdate()

FindItemContaining(string)

Finds the first item in the carousel with text containing the specified substring.

Declaration

cs-api-definition
public RadItem FindItemContaining(string subString)

Parameters

subString

string

The substring to search for within item text.

Returns

RadItem

The first RadItem containing the specified substring; returns null if no match is found.

FindItemExact(string)

Finds the first item in the carousel that matches the specified text exactly.

Declaration

cs-api-definition
public RadItem FindItemExact(string text)

Parameters

text

string

The string to search for.

Returns

RadItem

The first RadItem that matches the specified text; returns null if no match is found.

FindItemStartingWith(string)

Finds the first item in the list with Text that starts with the specified string.

Declaration

cs-api-definition
public RadItem FindItemStartingWith(string startsWith)

Parameters

startsWith

string

The string to search for.

Returns

RadItem

The zero-based index of the first item found; returns null if no match is found.

GetItemValue(object)

Gets the value of the specified item using the ValueMember property.

Declaration

cs-api-definition
public virtual object GetItemValue(object item)

Parameters

item

object

The item to get the value from.

Returns

object

The value of the item, or null if the value cannot be retrieved.

InitializeFields()

Initializes the internal fields and sets up the default behavior for the carousel element.

Declaration

cs-api-definition
protected override void InitializeFields()

Overrides RadItem.InitializeFields()

IsInputKey(InputKeyEventArgs)

Determines whether the specified key is an input key for the carousel navigation.

Declaration

cs-api-definition
protected override bool IsInputKey(InputKeyEventArgs e)

Parameters

e

InputKeyEventArgs

The input key event arguments containing the key information.

Returns

bool

true if the key is handled by the carousel; otherwise, false.

Overrides RadElement.IsInputKey(InputKeyEventArgs)

OnAnimationFinished()

Called when a carousel animation finishes and handles auto-loop continuation logic.

Declaration

cs-api-definition
public virtual void OnAnimationFinished()

OnAnimationStarted()

Called when a carousel animation starts and raises the AnimationStarted event.

Declaration

cs-api-definition
public virtual void OnAnimationStarted()

OnItemDataBound(ItemDataBoundEventArgs)

Raises the ItemDataBound event.

Declaration

cs-api-definition
protected virtual void OnItemDataBound(ItemDataBoundEventArgs e)

Parameters

e

ItemDataBoundEventArgs

OnItemEntering(ItemEnteringEventArgs)

Fires the ItemEntering event

Declaration

cs-api-definition
protected void OnItemEntering(ItemEnteringEventArgs args)

Parameters

args

ItemEnteringEventArgs

Event specific arguemtns

OnItemLeaving(ItemLeavingEventArgs)

Fires the ItemLeaving event

Declaration

cs-api-definition
protected void OnItemLeaving(ItemLeavingEventArgs args)

Parameters

args

ItemLeavingEventArgs

Event specific arguemtns

OnLoaded()

Called when the element is loaded and triggers the initial selection events.

Declaration

cs-api-definition
protected override void OnLoaded()

Overrides RadElement.OnLoaded()

OnNewCarouselItemCreating(NewCarouselItemCreatingEventArgs)

Raises the CreateNewCarouselItem event.

Declaration

cs-api-definition
protected virtual void OnNewCarouselItemCreating(NewCarouselItemCreatingEventArgs e)

Parameters

e

NewCarouselItemCreatingEventArgs

OnNotifyPropertyChanged(string)

Handles property change notifications and performs appropriate actions based on the changed property.

Declaration

cs-api-definition
protected override void OnNotifyPropertyChanged(string propertyName)

Parameters

propertyName

string

The name of the property that changed.

Overrides RadObject.OnNotifyPropertyChanged(string)

OnPanGesture(PanGestureEventArgs)

Handles pan gesture events for touch-based carousel navigation.

Declaration

cs-api-definition
protected override void OnPanGesture(PanGestureEventArgs args)

Parameters

args

PanGestureEventArgs

The pan gesture event arguments containing gesture information.

Overrides RadItem.OnPanGesture(PanGestureEventArgs)

OnPropertyChanged(RadPropertyChangedEventArgs)

Called when a property value changes and handles specific property change logic.

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

A RadPropertyChangedEventArgs that contains the event data.

Overrides RadItem.OnPropertyChanged(RadPropertyChangedEventArgs)

OnSelectedIndexChanged(SelectedIndexChangedEventArgs)

Raises the SelectedIndexChanged event.

Declaration

cs-api-definition
protected virtual void OnSelectedIndexChanged(SelectedIndexChangedEventArgs e)

Parameters

e

SelectedIndexChangedEventArgs

OnSelectedItemChanged(EventArgs)

Raises the SelectedItemChanged event.

Declaration

cs-api-definition
protected virtual void OnSelectedItemChanged(EventArgs e)

Parameters

e

EventArgs

OnSelectedValueChanged(EventArgs)

Raises the SelectedValueChanged event.

Declaration

cs-api-definition
protected virtual void OnSelectedValueChanged(EventArgs e)

Parameters

e

EventArgs

ProcessOnKeyDown(KeyEventArgs)

Processes keyboard input for carousel navigation when keyboard navigation is enabled.

Declaration

cs-api-definition
protected virtual void ProcessOnKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

The key event arguments containing the pressed key information.

RefreshItems()

Refreshes the carousel items from the current data source.

Declaration

cs-api-definition
protected virtual void RefreshItems()

SetItemCore(int, object)

Sets the item at the specified index with the provided data value.

Declaration

cs-api-definition
protected virtual void SetItemCore(int index, object value)

Parameters

index

int

The zero-based index of the item to set.

value

object

The data value to bind to the item.

SetItemsCore(IList)

Sets the core items collection from the provided list of data items.

Declaration

cs-api-definition
protected virtual void SetItemsCore(IList items)

Parameters

items

IList

The list of data items to populate the carousel with.

Events

AnimationFinished

Occurs when carousel animation finishes.

Declaration

cs-api-definition
public event EventHandler AnimationFinished

Event Value

EventHandler

AnimationStarted

Occurs when carousel animation starts.

Declaration

cs-api-definition
public event EventHandler AnimationStarted

Event Value

EventHandler

ItemDataBound

Occurs after an Item is data-bound.

Declaration

cs-api-definition
[Browsable(false)]
public event ItemDataBoundEventHandler ItemDataBound

Event Value

ItemDataBoundEventHandler

ItemEntering

Occurs when an Item is about to enter carousel view

Declaration

cs-api-definition
public event ItemEnteringEventHandler ItemEntering

Event Value

ItemEnteringEventHandler

ItemLeaving

Occurs when an Item is about to leave carousel view

Declaration

cs-api-definition
public event ItemLeavingEventHandler ItemLeaving

Event Value

ItemLeavingEventHandler

NewCarouselItemCreating

Occurs before a new databound carousel item is created. You can use this event to replace the default item.

Declaration

cs-api-definition
[Browsable(false)]
public event NewCarouselItemCreatingEventHandler NewCarouselItemCreating

Event Value

NewCarouselItemCreatingEventHandler

SelectedIndexChanged

Occurs when the SelectedIndex property has changed.

Declaration

cs-api-definition
[Browsable(true)]
public event EventHandler SelectedIndexChanged

Event Value

EventHandler

SelectedItemChanged

Occurs when the selected item is changed.

Declaration

cs-api-definition
[Browsable(false)]
public event EventHandler SelectedItemChanged

Event Value

EventHandler

SelectedValueChanged

Occurs when the SelectedValue property has changed.

Declaration

cs-api-definition
[Browsable(true)]
public event EventHandler SelectedValueChanged

Event Value

EventHandler