DateTimeControl.IsRequiredField Property
Gets or sets a value that indicates whether or not the control's DateTime field is a required field.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<BindableAttribute(True)> _
Public Property IsRequiredField As Boolean
Get
Set
'Usage
Dim instance As DateTimeControl
Dim value As Boolean
value = instance.IsRequiredField
instance.IsRequiredField = value
[BindableAttribute(true)]
public bool IsRequiredField { get; set; }
Property Value
Type: System.Boolean
true if the field is a required field; otherwise, false. The default is false.