Partilhar via


InputFormTextBox.IsValid Property

Sets or retrieves a value that indicates whether or not the user-entered content in the control passes validation.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property IsValid As Boolean
    Get
    Set
'Usage
Dim instance As InputFormTextBox
Dim value As Boolean

value = instance.IsValid

instance.IsValid = value
public bool IsValid { get; set; }

Property Value

Type: System.Boolean
true if the content passes validation; otherwise, false. The default is true.

Implements

IValidator.IsValid

See Also

Reference

InputFormTextBox Class

InputFormTextBox Members

Microsoft.SharePoint.WebControls Namespace