Skip to content
Auto
Products

TimeSchedulerDataSourceView

Namespace: TagBites.WinSchedulers
Assembly: TagBites.WinSchedulers.dll
Product: TagBites.WinSchedulers v. 1.3.8

Represents the object storing data for TimeScheduler.

public class TimeSchedulerDataSourceView

Inheritance: object → TimeSchedulerDataSourceView

Gets the viewport interval.

public TimeSchedulerInterval Interval { get; }

TimeSchedulerInterval

A TimeSchedulerInterval representing the viewport interval.

Gets a collection of resources.

public IList<object> Resources { get; }

IList<object>

An IList representing the collection of resources.

Gets the collection of selected tasks.

public IList<object> SelectedTasks { get; }

IList<object>

An IList representing the collection of selected tasks.

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)
  • taskA object
    An Object representing first task.
  • taskB object
    An Object representing second task.
  • oneWay bool
    The value that indicates whether a connection is only one way.
  • color Color
    A Color representing color of a connection.

Adds a graph to the end of the graph collection. Each graph could be add only once.

public void AddGraph(object resource, TimeSchedulerGraph graph)

Adds the icon with specified name.

public void AddIcon(string iconName, BitmapSource 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)

Adds a line at specified date time for all resources with specified color.

public void AddMarker(DateTime dateTime, Color color)

Adds a line at specified date time specified resource with specified color.

public void AddMarker(object resource, DateTime dateTime, Color color)

Adds the task to the end of the task collection. Each task could be add only once.

public void AddTask(object task)

Adds the specified icon to the task.

public void AddTaskIcon(object task, string iconName)

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)

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)

Sorts connection collection by color.

public void SortConnectionsByColor()

Sorts connection collection by specified comparer.

public void SortConnectionsByColor(IComparer<Color> comparer)