Blazorise Link API

Explore the Blazorise Link API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Link documentation.

API

Parameters

Parameter Description TypeDefault
AriaLabelledBy

Specifies the aria-labelledby attribute value.

string
ChildContent

Specifies the content to be rendered inside this Link.

RenderFragmentnull
Disabled

Makes the link look inactive by adding the disabled boolean attribute.

boolfalse
Match

URL matching behavior for a link.

Possible values:Prefix, All

MatchMatch.Prefix
Role

Specifies the role attribute value.

string
Stretched

Makes any HTML element or component clickable by “stretching” a nested link.

boolfalse
TabIndex

Specifies whether the link element can be focused and where it participates in sequential keyboard navigation.

int?null
Target

The target attribute specifies where to open the linked document.

TargetTarget.Default
Title

Specify extra information about the element.

string
To

Denotes the target route of the link.

string
Unstyled

Removes default color styles from the link.

boolfalse

Events

Event Description Type
Clicked

Notifies when the link is clicked.

EventCallback<MouseEventArgs>
CustomMatch

A callback function that is used to compare current uri with the user defined uri. If defined, the Match parameter will be ignored.

Func<string, bool>
KeyDown

Handles the onkeydown event.

EventCallback<KeyboardEventArgs>
On this page