TimeScheduler
Namespace: TagBites.WinSchedulers
Assembly: TagBites.WinSchedulers.dll
Represents a time scheduler control.
Constructors
TimeScheduler()
Initializes a new instance of the TagBites.WinSchedulers.TimeScheduler class.
Result Type: void
Properties
BehaviorOptions
Gets the set of the behavior options.
Result Type: TimeSchedulerBehaviorOptions
DataSource
Gets or sets data source for loading data.
Result Type: ITimeSchedulerDataSource
HorizontalScroller
Result Type: GridViewScroller
ResourceScroller
Gets a resource scroll element.
Result Type: TimeSchedulerResourceScroller
SelectedTask
Gets or sets the selected task.
Result Type: object
SelectedTasks
Gets the collection of selected tasks.
TimeScroller
Gets a time scroll element.
Result Type: TimeSchedulerTimeScroller
VerticalScroller
Result Type: GridViewScroller
VerticalTimeLine
Gets or sets a value that indicates whether a time line is vertical.
Result Type: bool
View
Gets a view storing data for control.
Result Type: TimeSchedulerDataSourceView
ViewOptions
Gets the set of the view options.
Result Type: TimeSchedulerViewOptions
VisibleDateTimeInterval
Gets or sets the interval visible in the content.
Result Type: DateTimeInterval
Methods
GetResourceAtPoint(Point)
Returns a resource at the specified point.
Result Type: object
Parameters
Type | Name | |
---|---|---|
Point | point | A that specifies the pair of coordinates where a resource is located. |
GetResourceHeaderAtPoint(Point)
Returns a resource header at the specified point.
Result Type: object
Parameters
Type | Name | |
---|---|---|
Point | point | A that specifies the pair of coordinates where a resoruce header is located. |
GetTaskAtPoint(Point)
Returns a task at the specified point.
Result Type: object
Parameters
Type | Name | |
---|---|---|
Point | point | A that specifies the pair of coordinates where a task is located. |
OnKeyDown(KeyEventArgs)
Result Type: void
Parameters
Type | Name | |
---|---|---|
KeyEventArgs | e |
OnMouseDoubleClick(MouseButtonEventArgs)
Result Type: void
Parameters
Type | Name | |
---|---|---|
MouseButtonEventArgs | e |
OnMouseDown(MouseButtonEventArgs)
Result Type: void
Parameters
Type | Name | |
---|---|---|
MouseButtonEventArgs | e |
OnMouseMove(MouseEventArgs)
Result Type: void
Parameters
Type | Name | |
---|---|---|
MouseEventArgs | e |
OnMouseUp(MouseButtonEventArgs)
Result Type: void
Parameters
Type | Name | |
---|---|---|
MouseButtonEventArgs | e |
OnMouseWheel(MouseWheelEventArgs)
Result Type: void
Parameters
Type | Name | |
---|---|---|
MouseWheelEventArgs | e |
PrepareContentCore(GridViewWindow)
Result Type: void
Parameters
Type | Name | |
---|---|---|
GridViewWindow | view |
PrepareHeaders()
Result Type: void
Refresh()
Resets data in the TagBites.WinSchedulers.TimeScheduler.DataSource and refreshes the view.
Result Type: void
ScrollTo(object)
Scrolls the content within the to the specified task
Result Type: void
Parameters
Type | Name | |
---|---|---|
object | task | An representing the task that the content scrolls to. |
ScrollTo(DateTime, Alignment)
Scrolls the content within the to the specified task and alignment.
Result Type: void
Parameters
Type | Name | |
---|---|---|
DateTime | dateTime | The date time that the content scrolls to. |
Alignment | alignment | Alignment of the task relative to its content rectangle. |
ScrollTo(DateTime, DateTime)
Scrolls the content within the to the specified interval.
Result Type: void
Parameters
Type | Name | |
---|---|---|
DateTime | start | The date time that the begin of content scrolls to. |
DateTime | end | The date time that the end of content scrolls to. |
Select(object)
Marks task as the TagBites.WinSchedulers.TimeScheduler.SelectedTask and scroll to it.
Result Type: void
Parameters
Type | Name | |
---|---|---|
object | task | An representing the task that will be marked as selected. |
Events
CustomDrawTask
Occurs when the task is drawn.
Result Type: EventHandler<TimeSchedulerCustomDrawObjectEventArgs>
CustomDrawTaskBackground
Occurs when the background of the task is drawn.
Result Type: EventHandler<TimeSchedulerCustomDrawObjectEventArgs>
MouseMove
Occurs when the mouse pointer moves while over this element.
Result Type: EventHandler<MouseEventArgs>
OrientationChanged
Occurs when the orientation of control is changed.
Result Type: EventHandler
ResourceHeaderClick
Occurs when the user clicks the header of resource.
Result Type: EventHandler<TimeSchedulerResourceHeaderEventArgs>
ResourceHeaderDoubleClick
Occurs when the user double-clicks the header of resource.
Result Type: EventHandler<TimeSchedulerResourceHeaderEventArgs>
SelectedTasksChanged
Occurs after the selected tasks are changed.
Result Type: EventHandler
SettingsMenuResolved
Occurs when the menu of the settings is resolved.
Result Type: EventHandler<TimeSettingsMenuResolvedEventArgs>
TaskClick
Occurs when the user clicks the task.
Result Type: EventHandler<TimeSchedulerTaskEventArgs>
TaskDoubleClick
Occurs when the user double-clicks the task.
Result Type: EventHandler<TimeSchedulerTaskEventArgs>
TaskMoved
Occurs when the task is moved.
Result Type: EventHandler<TimeSchedulerTaskMovedEventArgs>
TaskMoving
Occurs when the task is moving.
Result Type: EventHandler<TimeSchedulerTaskMovingEventArgs>
TaskSelected
Occurs after the task is selected.
Result Type: EventHandler<TimeSchedulerTaskEventArgs>