RadCarousel
Represents a powerful navigation control that displays a collection of items in a carousel format. It integrates with various data sources and provides features such as touch interaction, automatic data presenter generation, and customizable item templates. The RadCarouselPanel is used for layout management, enabling developers to create visually appealing data presentations. This control supports automatic filtering, selection modes, and reflective item presentation, making it suitable for both simple and complex data visualization scenarios.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
[Themable]
public class RadCarousel : DataControl, INotifyPropertyChanged
Inheritance: objectDataControlRadCarousel
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadCarousel class.
public RadCarousel()
Fields
AutoGenerateDataPresentersProperty
DependencyProperty
Identifies the AutoGenerateDataPresenters dependency property.
public static readonly DependencyProperty AutoGenerateDataPresentersProperty
HorizontalScrollBarVisibilityProperty
DependencyProperty
Identifies the HorizontalScrollBarVisibilityProperty dependency property.
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty
ItemsPanelProperty
DependencyProperty
Identifies the ItemsPanel dependency property.
public static readonly DependencyProperty ItemsPanelProperty
ItemTemplateProperty
DependencyProperty
Identifies the ItemTemplateProperty dependency property.
public static readonly DependencyProperty ItemTemplateProperty
ReflectionSettingsProperty
DependencyProperty
Identifies the ReflectionSettingsProperty dependency property.
public static readonly DependencyProperty ReflectionSettingsProperty
VerticalScrollBarVisibilityProperty
DependencyProperty
Identifies the VerticalScrollBarVisibilityProperty dependency property.
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty
Properties
Gets or sets a value indicating whether data presenters should be automatically created.
public bool AutoGenerateDataPresenters { get; set; }
true if auto generation is activated; otherwise, false.
FieldDescriptors
IList<IFieldDescriptor>
Gets the collection of all field descriptors that appear in the control.
public IList<IFieldDescriptor> FieldDescriptors { get; }
A generic list of field descriptor objects.
Gets a collection of Telerik.Windows.Data.FilterDescriptor objects used to filter the items collection of this instance.
public FilterDescriptorCollection FilterDescriptors { get; }
The filter descriptors.
HorizontalScrollBarVisibility
ScrollBarVisibility
Gets or sets the horizontal scroll bar visibility.
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
The horizontal scroll bar visibility.
Gets the items control.
public CarouselItemsControl ItemsControl { get; }
The items control.
ItemsPanel
ItemsPanelTemplate
Gets or sets the template that defines the panel that controls the layout of items. This is a dependency property.
public ItemsPanelTemplate ItemsPanel { get; set; }
ItemTemplate
DataTemplate
Gets or sets the DataTemplate used to display each item. This is a dependency property.
public DataTemplate ItemTemplate { get; set; }
A DataTemplate that specifies the visualization of the data objects. The default is null.
Panel
Panel
Gets the panel that is set to the ItemsPanel property.
public Panel Panel { get; }
Gets or sets the reflection settings.
public ReflectionSettings ReflectionSettings { get; set; }
The reflection settings.
VerticalScrollBarVisibility
ScrollBarVisibility
Gets or sets the vertical scroll bar visibility.
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
The vertical scroll bar visibility.
Methods
Brings the specified data item into view.
Searches for a RadCarouselPanel .
public RadCarouselPanel FindCarouselPanel()
The RadCarouselPanel being used.
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Resets the theme.
public void ResetTheme()