RadHighlightLabel
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
Initializes a new instance of the RadHighlightLabel class.
public RadHighlightLabel()
Fields
ActualTextColorProperty
BindableProperty
Identifies the ActualTextColor property.
public static readonly BindableProperty ActualTextColorProperty
HighlightTextColorProperty
BindableProperty
Identifies the HighlightTextColor property.
public static BindableProperty HighlightTextColorProperty
HighlightTextProperty
BindableProperty
Identifies the HighlightText property.
public static BindableProperty HighlightTextProperty
ProviderProperty
BindableProperty
Identifies the Provider property.
public static BindableProperty ProviderProperty
UnformattedTextProperty
BindableProperty
Identifies the UnformattedText property.
public static BindableProperty UnformattedTextProperty
Properties
ActualTextColor
Color
Gets the actual text color of the label.
public Color ActualTextColor { get; }
Gets or sets the text that will be highlighted.
public string HighlightText { get; set; }
HighlightTextColor
Color
Gets or sets the color for the text that is highlighted.
public Color HighlightTextColor { get; set; }
Gets or sets the IHighlightLabelProvider for the label.
public IHighlightLabelProvider Provider { get; set; }
Gets or sets the unformatted text.
public string UnformattedText { get; set; }
Methods
protected override void OnHandlerChanged()
protected override void OnPropertyChanged(string propertyName = null)