NavLink.ShouldMatch(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.