'Declaration Public Property UnitTimeSpan As TimeSpan
'Usage Dim instance As TimelinePanel Dim value As TimeSpan instance.UnitTimeSpan = value value = instance.UnitTimeSpan
public TimeSpan UnitTimeSpan {get; set;}
'Declaration Public Property UnitTimeSpan As TimeSpan
'Usage Dim instance As TimelinePanel Dim value As TimeSpan instance.UnitTimeSpan = value value = instance.UnitTimeSpan
public TimeSpan UnitTimeSpan {get; set;}
Must be used in conjunction with UnitSize.
The UnitSize and UnitTimeSpan properties are used to determine how much space (UnitSize, in pixels) is used in the representation of an item on the TimelinePanel by each multiple of a given timespan (UnitTimeSpan). For example, on a TimelinePanel in which UnitSize is set to 5.0 (pixels) and UnitTimeSpan is set to 12 hours, an element that lasts 14 days (336 hours) would be 140 pixels wide:
These properties must be used in conjunction and with valid values for them to work properly.
Target Platforms: Windows 11, Windows 10, 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