Share via


DateTimeControl.Enabled Property

Gets or sets a value that indicates whether or not the control is enabled.

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

Syntax

'Declaration
<BindableAttribute(True)> _
Public Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As DateTimeControl
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
[BindableAttribute(true)]
public bool Enabled { get; set; }

Property Value

Type: System.Boolean
true if the control is enabled; otherwise, false. The default is true.

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace