Table of Contents

Class MudHighlighter

Namespace
MudBlazor
Assembly
MudBlazor.dll
public class MudHighlighter : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
Inheritance
MudHighlighter
Implements
Inherited Members
Extension Methods

Constructors

MudHighlighter()

public MudHighlighter()

Properties

CaseSensitive

Whether or not the highlighted text is case sensitive

[Parameter]
[Category("Behavior")]
public bool CaseSensitive { get; set; }

Property Value

bool

HighlightedText

The fragment of text to be highlighted

[Parameter]
[Category("Behavior")]
public string? HighlightedText { get; set; }

Property Value

string

HighlightedTexts

The fragments of text to be highlighted

[Parameter]
[Category("Behavior")]
public IEnumerable<string> HighlightedTexts { get; set; }

Property Value

IEnumerable<string>

Markup

If true, renders text as a RenderFragment.

[Parameter]
[Category("Appearance")]
public bool Markup { get; set; }

Property Value

bool

Text

The whole text in which a fragment will be highlighted

[Parameter]
[Category("Behavior")]
public string? Text { get; set; }

Property Value

string

UntilNextBoundary

If true, highlights the text until the next regex boundary

[Parameter]
[Category("Behavior")]
public bool UntilNextBoundary { get; set; }

Property Value

bool

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnParametersSet()

protected override void OnParametersSet()