DateTimeControl.IsValid Property

Gets or sets 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 DateTimeControl
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

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace