[]
        
(Showing Draft Content)

C1.WPF.Schedule.C1SchedulerViewModel

C1SchedulerViewModel Class

Represents the bridge between the view and the C1Scheduler control.

Inheritance
C1SchedulerViewModel
Implements
Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
public class C1SchedulerViewModel : IDisposable
Remarks

The C1Scheduler control creates the C1SchedulerViewModel object and uses it as a DataContext. You can use this DataContext in the custom ControlTemplates for the C1Scheduler control.

Properties

Name Description
GroupItems

Gets a collection of all available SchedulerGroupItem objects for the currently set type of grouping.

Scheduler

Gets the reference to the owning C1Scheduler control.

TotalGroupItem

Gets the SchedulerGroupItem object representing the group item which has no owner, but contains appointments of all visible group items.

VisibleGroupItems

Gets a collection of currently visible SchedulerGroupItem objects. This collection can be used in xaml in the C1Scheduler control templates.

Methods

Name Description
Dispose()

Clean up any resources being used.

Dispose(bool)

Clean up any resources being used.

FindUIForTime(DateTime)

Returns the FrameworkElement corresponding to the given DateTime value.