RichHtmlField.AllowHyperlinks Property (Microsoft.SharePoint.Publishing.WebControls)
Gets or sets the constraint that allows hyperlinks to be added to the HTML.

Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in microsoft.sharepoint.publishing.dll)
Syntax

Visual Basic (Declaration)
<BrowsableAttribute(True)> _
Public Property AllowHyperlinks As Boolean
Visual Basic (Usage)
Dim instance As RichHtmlField
Dim value As Boolean

value = instance.AllowHyperlinks

instance.AllowHyperlinks = value
C#
[BrowsableAttribute(true)] 
public bool AllowHyperlinks { get; set; }

Property Value

When this flag is set to False, hyperlinks are not allowed in the HTML.
Remarks

If this flag is set to False, <A>, <AREA> and <MAP> tags are removed from the HTML. Default is True. This property also determines whether the editing user interface (UI) enables these operations.

See Also

Tags :


Page view tracker