Class
RadHighlightLabel

Represents a label control that can highlight specific text within its content.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class RadHighlightLabel : Label

Inheritance: objectRadHighlightLabel

Constructors

RadHighlightLabel()

Initializes a new instance of the RadHighlightLabel class.

Declaration

cs-api-definition
public RadHighlightLabel()

Fields

ActualTextColorProperty

Identifies the ActualTextColor property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualTextColorProperty

Field Value

BindableProperty

HighlightTextColorProperty

Identifies the HighlightTextColor property.

Declaration

cs-api-definition
public static BindableProperty HighlightTextColorProperty

Field Value

BindableProperty

HighlightTextProperty

Identifies the HighlightText property.

Declaration

cs-api-definition
public static BindableProperty HighlightTextProperty

Field Value

BindableProperty

ProviderProperty

Identifies the Provider property.

Declaration

cs-api-definition
public static BindableProperty ProviderProperty

Field Value

BindableProperty

UnformattedTextProperty

Identifies the UnformattedText property.

Declaration

cs-api-definition
public static BindableProperty UnformattedTextProperty

Field Value

BindableProperty

Properties

ActualTextColor

Gets the actual text color of the label.

Declaration

cs-api-definition
public Color ActualTextColor { get; }

Property Value

Color

HighlightText

Gets or sets the text that will be highlighted.

Declaration

cs-api-definition
public string HighlightText { get; set; }

Property Value

string

HighlightTextColor

Gets or sets the color for the text that is highlighted.

Declaration

cs-api-definition
public Color HighlightTextColor { get; set; }

Property Value

Color

Provider

Gets or sets the IHighlightLabelProvider for the label.

Declaration

cs-api-definition
public IHighlightLabelProvider Provider { get; set; }

Property Value

IHighlightLabelProvider

UnformattedText

Gets or sets the unformatted text.

Declaration

cs-api-definition
public string UnformattedText { get; set; }

Property Value

string

Methods

OnHandlerChanged()

Declaration

cs-api-definition
protected override void OnHandlerChanged()

OnPropertyChanged(string)

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string