Version

TimelineViewHeaderTextFormatStyle Enumeration

Constants which specify the manner in which the HeaderTextFormat is applied to the dates displayed on the column headers.
Syntax
'Declaration
 
Public Enum TimelineViewHeaderTextFormatStyle 
   Inherits System.Enum
public enum TimelineViewHeaderTextFormatStyle : System.Enum 
Members
MemberDescription
DefaultThe actual value is determined at a higher level of the property resolution hierarchy.
FullRangeThe starting and ending date/time of the range spanned by the column header is displayed within the header. The ending date/time is not adjusted to appear as the beginning of the next header's range. This setting is most appropriate for a DateInterval whose cycles span more than one day. For example, a DateInterval that spans two days might display "1/1/2000 - 1/2/2000". A TimeInterval that spans one hour might display "9:00AM - 9:59AM". This is the default setting for all DateIntervals whose cycles span more than one day.
FullRangeAdjustedThe starting and ending date/time of the range spanned by the column header is displayed within the header. The ending date/time is adjusted to appear as the beginning of the next header's range. For example, a TimeInterval that spans one hour might display "9AM - 10AM".
RangeStartOnly the starting date/time of the range spanned by the column header is displayed within the header. For example, if the associated DateTimeInterval represents one hour, "9AM" might be displayed as opposed to "9AM - 10AM". This is the default setting for TimeIntervals, and for DateIntervals whose cycles span one day or less.
ShortA customized format is applied so that the minimum amount of horizontal space is required to render the date. Note that the HeaderTextFormat property is not applicable under this setting. For a DateTimeInterval which represents minutes or hours, the date is formatted using the default header text format For a DateTimeInterval which represents days, a single-character representation of the name of the day of the week is used. For a DateTimeInterval which represents weeks, the current culture's MonthDayPattern is shortened to use the three-character representation of the month, then combined with a two-digit representation of the year. For a DateTimeInterval which represents months, a three-character representation of the month is displayed, i.e., the "MMM" format specifier is used. For a DateTimeInterval which represents years, the two-digit representation of the year is displayed, i.e., the "yy" format specifier is used.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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