ClassRadHighlightLabel
Represents a label control that can highlight specific text within its content.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadHighlightLabel : Label
Inheritance: objectRadHighlightLabel
Constructors
RadHighlightLabel()
Initializes a new instance of the RadHighlightLabel class.
Declaration
public RadHighlightLabel()
Fields
ActualTextColorProperty
Identifies the ActualTextColor property.
Declaration
public static readonly BindableProperty ActualTextColorProperty
Field Value
BindableProperty
HighlightTextColorProperty
Identifies the HighlightTextColor property.
Declaration
public static BindableProperty HighlightTextColorProperty
Field Value
BindableProperty
HighlightTextProperty
Identifies the HighlightText property.
Declaration
public static BindableProperty HighlightTextProperty
Field Value
BindableProperty
ProviderProperty
Identifies the Provider property.
Declaration
public static BindableProperty ProviderProperty
Field Value
BindableProperty
UnformattedTextProperty
Identifies the UnformattedText property.
Declaration
public static BindableProperty UnformattedTextProperty
Field Value
BindableProperty
Properties
ActualTextColor
Gets the actual text color of the label.
Declaration
public Color ActualTextColor { get; }
Property Value
Color
HighlightText
Gets or sets the text that will be highlighted.
HighlightTextColor
Gets or sets the color for the text that is highlighted.
Declaration
public Color HighlightTextColor { get; set; }
Property Value
Color
Provider
Gets or sets the IHighlightLabelProvider for the label.
Declaration
public IHighlightLabelProvider Provider { get; set; }
Property Value
UnformattedText
Gets or sets the unformatted text.
Methods
OnHandlerChanged()
Declaration
protected override void OnHandlerChanged()
OnPropertyChanged(string)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName