Class DataTemplate
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.UI.Mentions
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class DataTemplate
Constructors
DataTemplate(Type, Type)
Creates a new DataTemplate instance. This object maps a visual type to a data type.
Declaration
public DataTemplate(Type visualType, Type dataType)
Parameters
System.Type
visualType
The type of the visual item. |
System.Type
dataType
The data type for which the visual item is intended. |
Properties
DataType
Gets or sets the type for which this DataTemplate is intended.
Declaration
public Type DataType { get; }
Property Value
System.Type
|
VisualType
Gets or sets the type of the visual item. It is necessary that the custom element defines a public parameterless contstructor.
Declaration
public Type VisualType { get; }
Property Value
System.Type
|