Partilhar via


DateTimeControl.IsDateEmpty Property

Gets or sets a value that indicates whether or not a date value is displayed in the control.

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

Syntax

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

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

Property Value

Type: System.Boolean
true if a date value is displayed; otherwise, false. The default is true.

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace