dotnetCHARTING Send comments on this topic.
StartDayOfWeek Property
See Also  Example
dotnetCHARTING Namespace > DataEngine Class : StartDayOfWeek Property


Gets or sets a DayOfWeek enumeration that determines the day which will be used as the starting day of the week for the dategrouping functionality.

Syntax

Visual Basic (Declaration) 
Public Property StartDayOfWeek As DayOfWeek
Visual Basic (Usage)Copy Code
Dim instance As DataEngine
Dim value As DayOfWeek
 
instance.StartDayOfWeek = value
 
value = instance.StartDayOfWeek
C# 
public DayOfWeek StartDayOfWeek {get; set;}

Example

C#Copy Code
de.DateGrouping = TimeInterval.Weeks;
de.StartDayOfWeek = DayOfWeek.Monday;
    
Visual BasicCopy Code
de.DateGrouping = TimeInterval.Weeks
de.StartDayOfWeek = DayOfWeek.Monday

Example

Remarks

This property used with conjunction of date grouping by weeks. The default is Sunday.

See Also

© 2008 All Rights Reserved.