HighlightingTextBlockView
StockSharp.Xaml.Windows.Maui
Ein Label-Steuerelement, das übereinstimmenden Text mit einer bestimmten Farbe hervorhebt und für die Hervorhebung von Suchergebnissen in Autovervollständigungs- und Filterszenarien verwendet wird.
Erbt von: ContentView
Konstruktoren
HighlightingTextBlockView
public HighlightingTextBlockView()
highlightingTextBlockView = HighlightingTextBlockView()
Erstellt ein neues HighlightingTextBlockView.
Eigenschaften
HighlightColor
public Color HighlightColor { get; set; }
value = highlightingTextBlockView.HighlightColor
highlightingTextBlockView.HighlightColor = value
Bekommt oder legt die Farbe, die verwendet wird, um den passenden Text hervorzuheben.
HighlightFontAttributes
public FontAttributes HighlightFontAttributes { get; set; }
value = highlightingTextBlockView.HighlightFontAttributes
highlightingTextBlockView.HighlightFontAttributes = value
Bekommt oder setzt die Schriftattribute, die für hervorgehobenen Text verwendet werden.
HighlightText
public string HighlightText { get; set; }
value = highlightingTextBlockView.HighlightText
highlightingTextBlockView.HighlightText = value
Bekommt oder legt den Text so fest, dass er im Volltext hervorgehoben wird.
Text
public string Text { get; set; }
value = highlightingTextBlockView.Text
highlightingTextBlockView.Text = value
Erhält oder setzt den Volltext zur Anzeige.
Felder
HighlightColorProperty
public static readonly BindableProperty HighlightColorProperty
value = HighlightingTextBlockView.HighlightColorProperty
Bindbare Eigenschaft für HighlightColor.
HighlightFontAttributesProperty
public static readonly BindableProperty HighlightFontAttributesProperty
value = HighlightingTextBlockView.HighlightFontAttributesProperty
Bindbare Eigenschaft für HighlightFontAttributes.
HighlightTextProperty
public static readonly BindableProperty HighlightTextProperty
value = HighlightingTextBlockView.HighlightTextProperty
Bindbare Eigenschaft für HighlightText.
TextProperty
public static readonly BindableProperty TextProperty
value = HighlightingTextBlockView.TextProperty
Bindbares Eigentum für Text.