Share via


TextEditor.IsValid Property

NOTE: This API is now obsolete.

Gets or sets a value indicating whether the size of the text is less than or equal to MaxTextSizeDefault. The Validate method sets the IsValid property.

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

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Property IsValid As Boolean
    Get
    Set
'Usage
Dim instance As TextEditor
Dim value As Boolean

value = instance.IsValid

instance.IsValid = value
[ObsoleteAttribute("This class is obsolete.")]
public bool IsValid { get; set; }

Property Value

Type: System.Boolean
true if the size of the text is less than or equal to MaxTextSizeDefault; otherwise, false.

Implements

IValidator.IsValid

See Also

Reference

TextEditor Class

TextEditor Members

Microsoft.SharePoint.Portal.WebControls Namespace