Class
RichTextEditorColorPickerItemTemplateSelector

A template selector responsible for choosing the corresponding template for a given color of the RichTextEditorColorPickerToolbarItem drop down list.

Definition

Namespace:Telerik.Maui.Controls.RichTextEditor

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class RichTextEditorColorPickerItemTemplateSelector : DataTemplateSelector

Inheritance: objectRichTextEditorColorPickerItemTemplateSelector

Constructors

RichTextEditorColorPickerItemTemplateSelector()

Declaration

cs-api-definition
public RichTextEditorColorPickerItemTemplateSelector()

Properties

ItemTemplate

Gets or sets the template that is used when the color item does not represent null or white color.

Declaration

cs-api-definition
public DataTemplate ItemTemplate { get; set; }

Property Value

DataTemplate

NullTemplate

Gets or sets the template that is used when the color item represents null color.

Declaration

cs-api-definition
public DataTemplate NullTemplate { get; set; }

Property Value

DataTemplate

WhiteTemplate

Gets or sets the template that is used when the color item represents white color.

Declaration

cs-api-definition
public DataTemplate WhiteTemplate { get; set; }

Property Value

DataTemplate

Methods

OnSelectTemplate(object, BindableObject)

Declaration

cs-api-definition
protected override DataTemplate OnSelectTemplate(object item, BindableObject container)

Parameters

item

object

container

BindableObject

Returns

DataTemplate