LinkifyFormatOptionsClassAttribute Property
Gets or sets the 'class' attribute name to use for newly created links.
Accepts a function that takes the link type, the unformatted 'href' value,
and returns the 'class' attribute name.
Default value: null 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 ClassAttribute : 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.
ClassAttribute =
Function(linkType As LinkifyLinkType, href As String) As Object
Select Case linkType
Case LinkifyLinkType.Url
Return "new-link--url"
Case LinkifyLinkType.Email
Return "new-link--email"
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.