'Declaration Public Property UnitSize As Double
'Usage Dim instance As TimelinePanel Dim value As Double instance.UnitSize = value value = instance.UnitSize
public double UnitSize {get; set;}
'Declaration Public Property UnitSize As Double
'Usage Dim instance As TimelinePanel Dim value As Double instance.UnitSize = value value = instance.UnitSize
public double UnitSize {get; set;}
Must be used in conjunction with UnitTimeSpan.
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