Share via


HtmlEditor.ValidationContext Property

The validation context that holds the settings for the HTML values that are allowed in this control.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property ValidationContext As HtmlValidationContext
    Get
    Set
'Usage
Dim instance As HtmlEditor
Dim value As HtmlValidationContext

value = instance.ValidationContext

instance.ValidationContext = value
public HtmlValidationContext ValidationContext { get; set; }

Property Value

Type: Microsoft.SharePoint.Publishing.Fields.HtmlValidationContext

Remarks

Use this HtmlValidationContext object to enable and disable specific buttons and elements of the HTML editing user interface (UI), based on the Boolean flags that have been set on this object.

See Also

Reference

HtmlEditor Class

HtmlEditor Members

Microsoft.SharePoint.Publishing.WebControls Namespace

HtmlEditor