[]
        
(Showing Draft Content)

C1.WPF.Schedule.VisualIntervalsPresenter

VisualIntervalsPresenter Class

The base class for list boxes which should represent the collection of VisualInterval objects.

Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.dll
Syntax
public class VisualIntervalsPresenter : ListBox, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage, IWeakEventListener

Constructors

Name Description
VisualIntervalsPresenter()

Creates a new instance of VisualIntervalsPresenter.

Fields

Name Description
OwnerProperty

Identifies the Owner dependency property.

PanningDirectionProperty

Identifies the PanningDirection dependency property.

_prevScheduler
_updatingSelection

This API supports the C1.WPF.Schedule infrastructure and is not intended to be used directly from your code.

Properties

Name Description
Owner

Gets the BaseObject object representing the SchedulerGroupItem object owner. This property can be null for an empty group item.

PanningDirection

Gets or sets the panning direction.

Scheduler

References a C1Scheduler control that owns the VisualIntervalsPresenter.

Methods

Name Description
AttachSchedulerEvents()

Attaches presenter to the C1Scheduler control.

AttachToScheduler()

Attaches presenter to the C1Scheduler control.

ClearSelection()

Clears selection.

DetachFromScheduler(C1Scheduler)

Detaches presenter from the specified C1Scheduler control.

GetContainerForItemOverride()

Creates or identifies the element used to display the specified item.

OnMouseLeftButtonUp(MouseButtonEventArgs)

Overrides the default behavior.

OnMouseMove(MouseEventArgs)

Overrides the default behavior.

OnPreviewStylusButtonDown(StylusButtonEventArgs)
OnSelectionChanged(SelectionChangedEventArgs)

Overrides the base class behavior. Only continuous selection is supported.

OnStylusLeave(StylusEventArgs)
OnStylusMove(StylusEventArgs)
OnVisualChildrenChanged(DependencyObject, DependencyObject)

Called when the visual children of a VisualIntervalPresenter element change.

ReceiveWeakEvent(Type, object, EventArgs)

Receives events from the centralized event manager.

SelectItems(DateTime, DateTime)

Selects all items from time interval determined by the specified start and end values.

UpdateSelection()

Updates selection.