ComponentOne Scheduler for WPF and Silverlight
VisualInterval Constructor

C1.WPF.Schedule Namespace > VisualInterval Class : VisualInterval Constructor
A C1Scheduler that VisualInterval is created for.
A SchedulerGroupItem that VisualInterval is created for.
A start time of a time range represented by the VisualInterval.
A TimeSpan of a time range represented by the VisualInterval.
Creates a new VisualInterval object for the specified C1Scheduler that represents the specified time range.
Syntax
'Declaration
 
Public Function New( _
   ByVal scheduler As C1Scheduler, _
   ByVal ownerGroup As SchedulerGroupItem, _
   ByVal startTime As System.Date, _
   ByVal timescale As System.TimeSpan _
)
public VisualInterval( 
   C1Scheduler scheduler,
   SchedulerGroupItem ownerGroup,
   System.DateTime startTime,
   System.TimeSpan timescale
)

Parameters

scheduler
A C1Scheduler that VisualInterval is created for.
ownerGroup
A SchedulerGroupItem that VisualInterval is created for.
startTime
A start time of a time range represented by the VisualInterval.
timescale
A TimeSpan of a time range represented by the VisualInterval.
See Also

Reference

VisualInterval Class
VisualInterval Members