HighlightingTextBlockView

StockSharp.Xaml.Windows.Maui

A label control that highlights matching text with a specified color. Used for search result highlighting in autocomplete and filter scenarios.

Inherits: ContentView

Constructors

HighlightingTextBlockView
public HighlightingTextBlockView()
highlightingTextBlockView = HighlightingTextBlockView()

Creates a new HighlightingTextBlockView.

Properties

HighlightColor
public Color HighlightColor { get; set; }
value = highlightingTextBlockView.HighlightColor
highlightingTextBlockView.HighlightColor = value

Gets or sets the color used to highlight matching text.

HighlightFontAttributes
public FontAttributes HighlightFontAttributes { get; set; }
value = highlightingTextBlockView.HighlightFontAttributes
highlightingTextBlockView.HighlightFontAttributes = value

Gets or sets the font attributes used on highlighted text.

HighlightText
public string HighlightText { get; set; }
value = highlightingTextBlockView.HighlightText
highlightingTextBlockView.HighlightText = value

Gets or sets the text to highlight within the full text.

Text
public string Text { get; set; }
value = highlightingTextBlockView.Text
highlightingTextBlockView.Text = value

Gets or sets the full text to display.

Fields

HighlightColorProperty
public static readonly BindableProperty HighlightColorProperty
value = HighlightingTextBlockView.HighlightColorProperty

Bindable property for HighlightColor.

HighlightFontAttributesProperty
public static readonly BindableProperty HighlightFontAttributesProperty
value = HighlightingTextBlockView.HighlightFontAttributesProperty

Bindable property for HighlightFontAttributes.

HighlightTextProperty
public static readonly BindableProperty HighlightTextProperty
value = HighlightingTextBlockView.HighlightTextProperty

Bindable property for HighlightText.

TextProperty
public static readonly BindableProperty TextProperty
value = HighlightingTextBlockView.TextProperty

Bindable property for Text.