DateTimeControl.MaxDate Property

Gets or sets the maximum date and time that can be selected in the control.

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

Syntax

'Declaration
<BindableAttribute(False)> _
Public Property MaxDate As DateTime
    Get
    Set
'Usage
Dim instance As DateTimeControl
Dim value As DateTime

value = instance.MaxDate

instance.MaxDate = value
[BindableAttribute(false)]
public DateTime MaxDate { get; set; }

Property Value

Type: System.DateTime
A DateTime value that indicates the maximum date and time that can be selected. The default is 12/31/9999 11:59:59 PM.

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace