DataTemplate
Class
Associates a mention data type with the visual-item type used to render its suggestions.
Definition
Namespace:Telerik.WinForms.Documents.UI.Mentions
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class DataTemplate
Inheritance: objectDataTemplate
Constructors
Properties
Gets the exact data type for which this template is selected.
C#
public Type DataType { get; }
Gets the visual-item type used to render matching mention data.
C#
public Type VisualType { get; }
The type must provide a public parameterless constructor because the picker instantiates it when displaying suggestions.