Share via


NavLink.ShouldMatch(String) Method

Definition

Determines whether the current URI should match the link.

protected virtual bool ShouldMatch(string uriAbsolute);
abstract member ShouldMatch : string -> bool
override this.ShouldMatch : string -> bool
Protected Overridable Function ShouldMatch (uriAbsolute As String) As Boolean

Parameters

uriAbsolute
String

The absolute URI of the current ___location.

Returns

True if the link should be highlighted as active; otherwise, false.

Applies to