MudHighlighter API

Properties
Name Type Default Description
Behavior
CaseSensitive
bool
False Whether or not the highlighted text is case sensitive
HighlightedText
string
null The fragment of text to be highlighted
HighlightedTexts
IEnumerable<string>
The fragments of text to be highlighted
Text
string
null The whole text in which a fragment will be highlighted
UntilNextBoundary
bool
False If true, highlights the text until the next regex boundary
Appearance
Markup
bool
False If true, renders text as a Microsoft.AspNetCore.Components.RenderFragment.
Common
Class
string
null User class names, separated by space.
Style
string
null User styles, applied on top of the component's own classes and styles.
Tag
object
null Use Tag to attach any user data object to the component for your convenience.
UserAttributes
Dictionary<string, object>
UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag.

Copyright © 2020-2024 MudBlazor.

Powered by .NET 8.0.8

An error has occurred. This application may no longer respond until reloaded. Reload 🗙