Class MessageTemplateSelector
DataTemplateSelector class that different templates for the separate message types.
Inheritance
Namespace: Telerik.Windows.Controls.ConversationalUI
Assembly: Telerik.Windows.Controls.ConversationalUI.dll
Syntax
public class MessageTemplateSelector : DataTemplateSelector
Constructors
MessageTemplateSelector()
Declaration
public MessageTemplateSelector()
Properties
CalendarMessageTemplate
Gets or sets the data template associated with MessageType.Calendar.
Declaration
public DataTemplate CalendarMessageTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
CardTemplate
Gets or sets the data template associated with MessageType.Card.
Declaration
public DataTemplate CardTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
CarouselTemplate
Gets or sets the data template associated with MessageType.Carousel.
Declaration
public DataTemplate CarouselTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
DataFormTemplate
Gets or sets the data template associated with MessageType.DataForm.
Declaration
public DataTemplate DataFormTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
FlightCardTemplate
Gets or sets the data template associated with MessageType.FlightCard.
Declaration
public DataTemplate FlightCardTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
GifTemplate
Gets or sets the data template associated with MessageType.Gif.
Declaration
public DataTemplate GifTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
ImageCardTemplate
Gets or sets the data template associated with MessageType.ImageCard.
Declaration
public DataTemplate ImageCardTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
ImageTemplate
Gets or sets the data template associated with MessageType.Image.
Declaration
public DataTemplate ImageTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
ListMessageTemplate
Gets or sets the data template associated with MessageType.List.
Declaration
public DataTemplate ListMessageTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
ProductCardTemplate
Gets or sets the data template associated with MessageType.ProductCard.
Declaration
public DataTemplate ProductCardTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
TextMessageTemplate
Gets or sets the data template associated with MessageType.Text.
Declaration
public DataTemplate TextMessageTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
WeatherCardTemplate
Gets or sets the data template associated with MessageType.WeatherCard.
Declaration
public DataTemplate WeatherCardTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
Methods
SelectTemplate(Object, DependencyObject)
Declaration
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Parameters
System.Object
item
|
System.Windows.DependencyObject
container
|
Returns
System.Windows.DataTemplate
|