Class RichTextEditorColorPickerItemTemplateSelector
A template selector responsible for choosing the corresponding template for a given color of the RichTextEditorColorPickerToolbarItem drop down list.
Inheritance
Namespace: Telerik.Maui.Controls.RichTextEditor
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RichTextEditorColorPickerItemTemplateSelector : DataTemplateSelector
Constructors
RichTextEditorColorPickerItemTemplateSelector()
Declaration
public RichTextEditorColorPickerItemTemplateSelector()
Properties
ItemTemplate
Gets or sets the template that is used when the color item does not represent null or white color.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
NullTemplate
Gets or sets the template that is used when the color item represents null color.
Declaration
public DataTemplate NullTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
WhiteTemplate
Gets or sets the template that is used when the color item represents white color.
Declaration
public DataTemplate WhiteTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
Methods
OnSelectTemplate(Object, BindableObject)
Declaration
protected override DataTemplate OnSelectTemplate(object item, BindableObject container)
Parameters
System.Object
item
|
Microsoft.Maui.Controls.BindableObject
container
|
Returns
Microsoft.Maui.Controls.DataTemplate
|