Version

WeekNumbers Property

Returns a collection of integers that represent the week numbers of the days displayed within the month.
Syntax
'Declaration
 
Public ReadOnly Property WeekNumbers As ReadOnlyObservableCollection(Of Integer)
public ReadOnlyObservableCollection<int> WeekNumbers {get;}
Remarks

When the CurrentCalendarMode is Days, this will contain a set of integers representing the week numbers for the days within the month. For all other navigation modes, the collection will be empty. The FirstItemRowOffset is applicable to the week numbers as well since week numbers are only generated based on the items within the Items collection.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also