HighlightingTextBlockView

StockSharp.Xaml.Windows.Maui

标签控制, 突出显示文本与指定颜色的匹配。 用于搜索结果, 突出显示自动完成和过滤方案 。

继承自: ContentView

构造函数

HighlightingTextBlockView
public HighlightingTextBlockView()
highlightingTextBlockView = HighlightingTextBlockView()

Creates a new HighlightingTextBlockView.

属性

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

获取或设置用于突出显示匹配文本的颜色。

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

获取或设置突出显示文本中使用的字体属性。

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

获取或设置文本以在全文中突出显示。

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

获取或设置要显示的全文 。

字段

HighlightColorProperty
public static readonly BindableProperty HighlightColorProperty
value = HighlightingTextBlockView.HighlightColorProperty

Bindable property for HighlightColor.

HighlightFontAttributesProperty
public static readonly BindableProperty HighlightFontAttributesProperty
value = HighlightingTextBlockView.HighlightFontAttributesProperty

HighlightFontAttributes的可捆绑财产.

HighlightTextProperty
public static readonly BindableProperty HighlightTextProperty
value = HighlightingTextBlockView.HighlightTextProperty

Bindable property for HighlightText.

TextProperty
public static readonly BindableProperty TextProperty
value = HighlightingTextBlockView.TextProperty

文本的可绑定属性 。