LinkifyFormatOptionsFormatHref Property

Gets or sets a value to format the 'href' attribute.

Similar to FormatLink property, except the formatting will be used in the 'href' attribute of the new link, and not in the link value.

This is useful for hashtags or other LinkifyPlugins plugins where you don’t want the default to be a link to a named anchor (the default behaviour).

Accepts a function that takes the link type, the unformatted 'href' value, and returns the new formated 'href' value.

Default value: null (no formatting) for all link types.

Definition

Namespace: DevCase.Core.DataProcessing.Html
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public Func<LinkifyLinkType, string, string> FormatHref { get; set; }

Property Value

FuncLinkifyLinkType, String, String

Remarks

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also