Class CarouselItemContentTemplateSelector
Provides a way to choose a DataTemplate for the CarouselItemContentPresenter based on the type of the data object.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class CarouselItemContentTemplateSelector : DataTemplateSelector
Constructors
CarouselItemContentTemplateSelector()
Declaration
public CarouselItemContentTemplateSelector()
Methods
SelectTemplate(Object, DependencyObject)
When overridden in a derived class, returns a System.Windows.DataTemplate based on custom logic.
Declaration
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Parameters
System.Object
item
The data object for which to select the template. |
System.Windows.DependencyObject
container
The data-bound object. |
Returns
System.Windows.DataTemplate
Returns a System.Windows.DataTemplate or null. The default value is null. |