menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class EditTemplateSelector - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class EditTemplateSelector

    Selects a data template for the edit mode.

    Inheritance
    System.Object
    EditTemplateSelector
    Namespace: Syncfusion.UI.Xaml.Chat
    Assembly: Syncfusion.SfChat.Wpf.dll
    Syntax
    public class EditTemplateSelector : DataTemplateSelector

    Constructors

    EditTemplateSelector()

    Declaration
    public EditTemplateSelector()

    Properties

    TextTemplate

    Gets or sets the data template for text messages.

    Declaration
    public DataTemplate TextTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate

    Methods

    SelectTemplate(Object, DependencyObject)

    Selects a data template based on the item.

    Declaration
    public override DataTemplate SelectTemplate(object item, DependencyObject container)
    Parameters
    Type Name Description
    System.Object item

    The item to select the template for.

    System.Windows.DependencyObject container

    .

    Returns
    Type Description
    System.Windows.DataTemplate

    The selected data template.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved