TimeSchedulerDataSourceView
Namespace: TagBites.WinSchedulers
Assembly: TagBites.WinSchedulers.dll
Product: TagBites.WinSchedulers v. 1.3.8
Represents the object storing data for TimeScheduler.
public class TimeSchedulerDataSourceViewInheritance: object → TimeSchedulerDataSourceView
Properties
Section titled “Properties”Interval
Section titled “Interval”Gets the viewport interval.
public TimeSchedulerInterval Interval { get; }Property Value
Section titled “Property Value”A TimeSchedulerInterval representing the viewport interval.
Resources
Section titled “Resources”Gets a collection of resources.
public IList<object> Resources { get; }Property Value
Section titled “Property Value”An IList representing the collection of resources.
SelectedTasks
Section titled “SelectedTasks”Gets the collection of selected tasks.
public IList<object> SelectedTasks { get; }Property Value
Section titled “Property Value”An IList representing the collection of selected tasks.
Methods
Section titled “Methods”AddConnection(object, object, bool, Color)
Section titled “AddConnection(object, object, bool, Color)”Adds a connection between taskA and taskB with specified color. If the taskA or the taskB is not added using AddTask(object) before it is added implicitly.
public void AddConnection(object taskA, object taskB, bool oneWay, Color color)Parameters
Section titled “Parameters”taskAobject
An Object representing first task.taskBobject
An Object representing second task.oneWaybool
The value that indicates whether a connection is only one way.colorColor
A Color representing color of a connection.
AddGraph(object, TimeSchedulerGraph)
Section titled “AddGraph(object, TimeSchedulerGraph)”Adds a graph to the end of the graph collection. Each graph could be add only once.
public void AddGraph(object resource, TimeSchedulerGraph graph)Parameters
Section titled “Parameters”resourceobject
An Object representing resource.graphTimeSchedulerGraph
An TimeSchedulerGraph representing graph data with specified points.
AddIcon(string, BitmapSource)
Section titled “AddIcon(string, BitmapSource)”Adds the icon with specified name.
public void AddIcon(string iconName, BitmapSource icon)Parameters
Section titled “Parameters”iconNamestring
The icon name.iconBitmapSource
A BitmapSource object representing the icon.
AddIntervalMarker(TimeSchedulerInterval, Color)
Section titled “AddIntervalMarker(TimeSchedulerInterval, Color)”Adds a interval marker at specified interval with specified color.
public void AddIntervalMarker(TimeSchedulerInterval interval, Color color)Parameters
Section titled “Parameters”intervalTimeSchedulerInterval
An TimeSchedulerInterval representing interval of a work time.colorColor
A Color representing color of a interval marker.
AddMarker(DateTime, Color)
Section titled “AddMarker(DateTime, Color)”Adds a line at specified date time for all resources with specified color.
public void AddMarker(DateTime dateTime, Color color)Parameters
Section titled “Parameters”dateTimeDateTime
A DateTime representing date time of the marker.colorColor
A Color representing color of a marker.
AddMarker(object, DateTime, Color)
Section titled “AddMarker(object, DateTime, Color)”Adds a line at specified date time specified resource with specified color.
public void AddMarker(object resource, DateTime dateTime, Color color)Parameters
Section titled “Parameters”resourceobject
An Object representing resource.dateTimeDateTime
A DateTime representing date time of the marker.colorColor
A Color representing color of a marker.
AddTask(object)
Section titled “AddTask(object)”Adds the task to the end of the task collection. Each task could be add only once.
public void AddTask(object task)Parameters
Section titled “Parameters”AddTaskIcon(object, string)
Section titled “AddTaskIcon(object, string)”Adds the specified icon to the task.
public void AddTaskIcon(object task, string iconName)Parameters
Section titled “Parameters”AddWorkTime(object, TimeSchedulerInterval)
Section titled “AddWorkTime(object, TimeSchedulerInterval)”Adds the resource to the end of the resource collection.
public void AddWorkTime(object resource, TimeSchedulerInterval interval)Parameters
Section titled “Parameters”resourceobject
An Object representing resource.intervalTimeSchedulerInterval
An TimeSchedulerInterval representing interval of work time.
AddWorkTime(object, TimeSchedulerInterval, Color)
Section titled “AddWorkTime(object, TimeSchedulerInterval, Color)”Adds the resource with specified color to the end of the resource collection.
public void AddWorkTime(object resource, TimeSchedulerInterval interval, Color color)Parameters
Section titled “Parameters”resourceobject
An Object representing resource.intervalTimeSchedulerInterval
An TimeSchedulerInterval representing interval of a work time.colorColor
A Color representing color of a work time.
SortConnectionsByColor()
Section titled “SortConnectionsByColor()”Sorts connection collection by color.
public void SortConnectionsByColor()SortConnectionsByColor(IComparer<Color>)
Section titled “SortConnectionsByColor(IComparer<Color>)”Sorts connection collection by specified comparer.
public void SortConnectionsByColor(IComparer<Color> comparer)