Share via


RichImageField.AllowHyperlinks Property

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

'Declaration
<BrowsableAttribute(True)> _
Public Property AllowHyperlinks As Boolean
    Get
    Set
'Usage
Dim instance As RichImageField
Dim value As Boolean

value = instance.AllowHyperlinks

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

Property Value

Type: System.Boolean
When this flag is set to False, it does not allow hyperlinks in the HTML.

Remarks

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

See Also

Reference

RichImageField Class

RichImageField Members

Microsoft.SharePoint.Publishing.WebControls Namespace

AllowHyperlinks

Validate

RichImageField