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

ParameterDefaultType
AriaLabelledBy—string

Specifies the aria-labelledby attribute value.
ChildContentnullRenderFragment

Specifies the content to be rendered inside this Link.
Disabledfalsebool

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

URL matching behavior for a link.
Possible values:PrefixAll
Role—string

Specifies the role attribute value.
Stretchedfalsebool

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

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

The target attribute specifies where to open the linked document.
Title—string

Specify extra information about the element.
To—string

Denotes the target route of the link.
Unstyledfalsebool

Removes default color styles from the link.

Events

EventType
ClickedEventCallback<MouseEventArgs>

Notifies when the link is clicked.
CustomMatchFunc<string, bool>

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

Handles the onkeydown event.
On this page