DateTimeControl.ShowWeekNumber Property

Gets or sets a value that indicates whether to display the week number in the calendar.

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

Syntax

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

value = instance.ShowWeekNumber

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

Property Value

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

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace