LinkifyFormatOptionsTargetAttribute Property
Gets or sets the 'target' attribute for generated links, such as "_blank" or "_parent".
Accepts a function that takes the link type, the unformatted 'href' value,
and returns the 'target' attribute.
Default value: "_blank" for all link types.
Namespace: DevCase.Core.DataProcessing.HtmlAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
member TargetAttribute : Func<LinkifyLinkType, string, string> with get, set
No code example is currently available or this language may not be supported.
Property Value
FuncLinkifyLinkType,
String,
String
This is a code example.
No code example is currently available or this language may not be supported.
TargetAttribute =
Function(linkType As LinkifyLinkType, href As String) As String
Select Case linkType
Case LinkifyLinkType.Url
Return "_blank"
Case LinkifyLinkType.Email
Return "_parent"
Case Else
Return Nothing
End Select
End Function
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.