Class RadCarousel
RadCarousel is a powerful control that allows you to display data from many different kinds of data sources using the RadCarouselPanel.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
[TelerikToolboxCategory("Navigation")]
[Themable]
public class RadCarousel : DataControl, INotifyPropertyChanged, ISelectorInternal, IThemable
Constructors
RadCarousel()
Fields
AutoGenerateDataPresentersProperty
Identifies the AutoGenerateDataPresenters dependency property.
Declaration
public static readonly DependencyProperty AutoGenerateDataPresentersProperty
Field Value
System.Windows.DependencyProperty
|
HorizontalScrollBarVisibilityProperty
Identifies the HorizontalScrollBarVisibilityProperty dependency property.
Declaration
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
ItemsPanelProperty
Identifies the ItemsPanel dependency property.
Declaration
public static readonly DependencyProperty ItemsPanelProperty
Field Value
System.Windows.DependencyProperty
|
ItemTemplateProperty
Identifies the ItemTemplateProperty dependency property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
System.Windows.DependencyProperty
|
ReflectionSettingsProperty
Identifies the ReflectionSettingsProperty dependency property.
Declaration
public static readonly DependencyProperty ReflectionSettingsProperty
Field Value
System.Windows.DependencyProperty
|
VerticalScrollBarVisibilityProperty
Identifies the VerticalScrollBarVisibilityProperty dependency property.
Declaration
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AutoGenerateDataPresenters
Gets or sets a value indicating whether data presenters should be automatically created.
Declaration
public bool AutoGenerateDataPresenters { get; set; }
Property Value
System.Boolean
|
FieldDescriptors
Gets the collection of all field descriptors that appear in the control.
Declaration
public IList<IFieldDescriptor> FieldDescriptors { get; }
Property Value
System.Collections.Generic.IList<IFieldDescriptor>
A generic list of field descriptor objects. |
FilterDescriptors
Gets a collection of Telerik.Windows.Data.FilterDescriptor objects used to filter the items collection of this instance.
Declaration
public FilterDescriptorCollection FilterDescriptors { get; }
Property Value
FilterDescriptorCollection
The filter descriptors. |
HorizontalScrollBarVisibility
Gets or sets the horizontal scroll bar visibility.
Declaration
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
Property Value
System.Windows.Controls.ScrollBarVisibility
The horizontal scroll bar visibility. |
ItemsControl
Gets the items control.
Declaration
public CarouselItemsControl ItemsControl { get; }
Property Value
CarouselItemsControl
The items control. |
ItemsPanel
Gets or sets the template that defines the panel that controls the layout of items. This is a dependency property.
Declaration
public ItemsPanelTemplate ItemsPanel { get; set; }
Property Value
System.Windows.Controls.ItemsPanelTemplate
|
ItemTemplate
Gets or sets the System.Windows.DataTemplate used to display each item. This is a dependency property.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
A System.Windows.DataTemplate that specifies the visualization of the data objects. The default is null. |
Panel
Gets the panel that is set to the ItemsPanel property.
Declaration
public Panel Panel { get; }
Property Value
System.Windows.Controls.Panel
|
ReflectionSettings
Gets or sets the reflection settings.
Declaration
public ReflectionSettings ReflectionSettings { get; set; }
Property Value
ReflectionSettings
The reflection settings. |
VerticalScrollBarVisibility
Gets or sets the vertical scroll bar visibility.
Declaration
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value
System.Windows.Controls.ScrollBarVisibility
The vertical scroll bar visibility. |
Methods
BringDataItemIntoView(Object)
Brings the specified data item into view.
Declaration
public void BringDataItemIntoView(object dataItem)
Parameters
System.Object
dataItem
The data item. |
FindCarouselPanel()
Searches for a RadCarouselPanel .
Declaration
public RadCarouselPanel FindCarouselPanel()
Returns
RadCarouselPanel
The RadCarouselPanel being used. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
The type-specific System.Windows.Automation.Peers.AutomationPeer implementation. |
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
OnItemsSourceChanged(Object, Object)
Called when ItemsSource property has changed.
Declaration
protected override void OnItemsSourceChanged(object oldValue, object newValue)
Parameters
System.Object
oldValue
The old value. |
System.Object
newValue
The new value. |
Overrides
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
SetIsCurrent(Object, Boolean)
Sets IsCurrent property.
Declaration
protected override void SetIsCurrent(object item, bool isCurrent)
Parameters
System.Object
item
The item. |
System.Boolean
isCurrent
If set to |
Overrides
SetIsSelected(Object, Boolean)
Sets the is selected.
Declaration
protected override void SetIsSelected(object item, bool isSelected)
Parameters
System.Object
item
The item. |
System.Boolean
isSelected
If set to |