Class EditTemplateSelector
Selects a data template for the edit mode.
Inheritance
System.Object
    EditTemplateSelector
  Namespace: Syncfusion.UI.Xaml.Chat
Assembly: Syncfusion.Chat.WinUI.dll
Syntax
public class EditTemplateSelector : DataTemplateSelectorConstructors
EditTemplateSelector()
Declaration
public EditTemplateSelector()Properties
TextTemplate
Gets or sets the data template for text messages.
Declaration
public DataTemplate TextTemplate { get; set; }Property Value
| Type | 
|---|
| Microsoft.UI.Xaml.DataTemplate | 
Methods
SelectTemplateCore(Object)
Selects a data template based on the item.
Declaration
protected override DataTemplate SelectTemplateCore(object item)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | item | The item to select the template for. | 
Returns
| Type | Description | 
|---|---|
| Microsoft.UI.Xaml.DataTemplate | The selected data template. | 
SelectTemplateCore(Object, DependencyObject)
Selects a data template based on the item and container.
Declaration
protected override DataTemplate SelectTemplateCore(object item, DependencyObject container)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | item | The item to select the template for. | 
| Microsoft.UI.Xaml.DependencyObject | container | The container for the item. | 
Returns
| Type | Description | 
|---|---|
| Microsoft.UI.Xaml.DataTemplate | The selected data template. |