Telerik.Windows.Scheduling.Core
Gets or sets EditedObject and notifies for changes.
This class wraps a hierarchical collection with observable collection, containing the flattened items, wrapped in HierarchicalItem.
This collection doesn't track the source collection for changes.
Initializes a new instance of the class. It doesn't track the source hierarchical
collection for changes.
The hierarchical collection to be flattened.
Occurs when the collection changes.
Returns an enumerator that iterates through a collection.
An System.Collections.IEnumerator object that can be used to iterate through the collection.
Returns an enumerator that iterates through the Collection of HierarchicalItem.
An IEnumerator of HierarchicalItem for the IEnumerator of HierarchicalItem.
When overridden in the inherited class, this method returns all the children of the provided item.
The item, which children are to be retrieved.
All the children of the provided item.
When overridden in the inherited class, this method is used to perform additional initializations to the newly created wrapper.
It is the best place to initialize the and properties.
This method is called when a new wrapper is initialized. In the base method only the SourceItem is set and
an event handler is hooked to the PropertyChanged event to track changes in the IsExpanded property.
The wrapper that was created for the item.
The item that have been wrapped.
TODO: Update summary.
Total count of all successors (children of arbitrary level) of all siblings preceding the current one.
Gets whether a HierarchicalItem is visibly Expanded. It will have IsVisiblyExpanded==false if has a collapsed parent or if it is collapsed.
An index tree structure, used to store non-negative double values and query for a cumulative value up
to an index or index that reaches a given value. Add and remove operations are expensive.
Initializes a new instance of the class.
The capacity of the tree.
Initializes a new instance of the class. Has complexity of N.
The capacity of the tree.
The default value.
Gets the number of items in the index tree. Has complexity of 0.
Gets the number of items that the index tree can accommodate before resizing is needed.
Returns the value for a given index. Has constant complexity for get and log(N) complexity for set.
The index to get the value for.
The value for the given index.
Removes the element at the given index. Worst complexity is
(N-InsertIndex) + Log(N)*NonDefaultsInRange(N-InsertIndex).
The index at which to remove the item.
Adds a value in the end of the index tree. Constant or N complexity, depending on whether capacity
expansion will be needed.
The value that will be added.
Inserts a value at the given index. Will cheaply enqueue an item if possible. Worst complexity is
(N-InsertIndex) + Log(N)*NonDefaultsIn(N-InsertIndex).
The value that will be inserted.
The index at which it will be inserted.
Returns the index of the element that reaches the given value. Has complexity of log(N).
The value that needs to be reached.
The index of the item that reached the given value.
Gets or sets the value that has built up for the items up to a given end index. Has complexity of log(N).
The index of the item for which to return the cumulative value.
The cumulative value for all items up to and including a given index.
Returns an enumerator that iterates through the collection.
A that can be used to iterate through
the collection.
Returns an enumerator that iterates through a collection.
An object that can be used to iterate through the
collection.
Represents platform independent freezable object for both Silverlight and WPF.
Creates a new instance of the System.Windows.Freezable derived class.
The new instance.
When implemented in a derived class, creates a new instance of the Telerik.Windows.Core.PlatformIndependentFreezable derived class.
The new instance.
Defines the basic methods of a timeline visualization behavior.
Gets all special slots, borders and eventually the tick lines in the current visible range.
The timeline state.
IEnumerable with special slots, borders and tick lines.
Gets the drop cue slots, selected and highlighted rows.
The timeline state.
IEnumerable with drop cue slots, selected and highlighted rows.
Appointments or Tasks with relations.
The timeline state.
IEnumerable with appointments or tasks with relations.
Represents the current state of the TimelineBehavior.
Get the vertical view port.
Get the horizontal viewport.
Gets all items in the visible range.
Gets the round service.
Gets the hierarchical of items.
Gets the special slots.
Gets the highlighted slots.
Gets the indexes of the selected items.
Gets the index of the highlighted item.
The interface for drag-drop operation behaviors for the scheduling controls.
This method filters the dragged items collection if necessary.
DragDropState that provides context for the current operation.
The filtered dragged items.
This method is called immediately before the drag operation starts. Only the Items property of the DragDropState is valid.
Gets the value specifying whether the drag operation can be started, or not.
DragDropState that provides context for the current operation.
True when the drag operation can be started, otherwise false.
This method is called only when the drag operation initiated.
Gets the value specifying whether the drag operation can be completed, or not.
DragDropState identifying the current drag operation.
True when the drag operation can be finished, otherwise false.
This method is called on every mouse move. All properties in the DragDropState are valid.
When overridden in a derived class completes the drop operation. This method is called only in the context of the drop target control.
DragDropState that provides context for the current operation.
When the drag source and the drop target are the same control, this method is called before DragCompleted.
When overridden in a derived class cleans up a cancelled drag operation. This method is called only in the context of the drag source control.
DragDropState that provides context for the current operation.
This method is called only when the drag operation is cancelled by the user. If this method is called, the source's DragDropCompleted and
target's Drop methods are not called.
When overridden in a derived class completes the drag operation. This method is called only in the context of the drag source control.
DragDropState that provides context for the current operation.
DragDropEffects with which the drag operation have finished.
When the drag source and the drop target are the same control, this method is called after Drop.
This method is called only when the drag operation completed successfully. If this method is called, DragDropCanceled is not called.
Gets the drop position for the reorder based on the overlapping value.
This value indicates how much the dragged item is over the destination item. This value is between 0 and 1.
Returns DropRelativePosition enum value.
The interface for drag-drop linking operation behaviors for the scheduling controls.
Gets the value specifying whether the link operation can be started, or not.
SchedulingLinkState that provides context for the current link operation.
True when the link operation can be started, otherwise false.
This method is called only when the link operation initiated.
Gets the value specifying whether the link operation can be completed, or not.
SchedulingLinkState identifying the current link operation.
True when the link operation can be finished, otherwise false.
This method is called on every mouse move.
Applies the effect of the link operation when it is successful.
SchedulingLinkState that provides context for the current operation.
This method is called only if the link operation is successful and it is meant to do the actual link.
When overridden in a derived class cleans up a cancelled link operation. This method is called only in the context of the link source control.
SchedulingLinkState that provides context for the current operation.
This method is called only when the link operation is cancelled by the user. If this method is called, the Link method is not called.
The interface for resize with drag-drop operation behaviors for the scheduling controls.
Gets the value specifying whether the resize operation can be started, or not.
SchedulingResizeState that provides context for the current resize operation.
True when the resize operation can be started, otherwise false.
This method is called only when the resize operation initiated.
Gets the value specifying whether the resize operation can be completed, or not.
SchedulingResizeState identifying the current resize operation.
True when the resize operation can be finished, otherwise false.
This method is called on every mouse move. All properties in the DragDropState are valid.
Applies the effect of the resize operation when it is successful.
SchedulingResizeState that provides context for the current operation.
This method is called only if the resize operation is successful and it is meant to do the actual resize.
When overridden in a derived class cleans up a cancelled resize operation. This method is called only in the context of the resized source control.
SchedulingResizeState that provides context for the current operation.
This method is called only when the resize operation is cancelled by the user. If this method is called, the Resize method is not called.
Represents the base class for scheduling operations.
This method puts the item in edit state.
The SchedulingInteractionState state. The object editor from the SchedulingInteractionState.ServiceProvider is used to start editing.
The item on which the editing operation has been started.
Whether the edit operation is began or not.
This method commits all changes that has been done to the scheduling item.
The SchedulingInteractionState state. The object editor from the SchedulingInteractionState.ServiceProvider is used to commit editing.
Whether the commit operation is performed.
This method cancels all changes that has been done to the scheduling item.
The SchedulingInteractionState state. The object editor from the SchedulingInteractionState.ServiceProvider is used to cancel editing.
Whether the cancel operation is performed.
This method applies the changes for the scheduling operation.
The SchedulingInteractionState state used for the operation.
Expects IDateRange item in the base implementation.
The new range that is applied for the originalItem.
True, if the changes are applied successfully. Otherwise returns false.
The base class for drag-drop linking operation behaviors for the scheduling controls.
Gets the value specifying whether the link operation can be started, or not.
SchedulingLinkState that provides context for the current link operation.
True when the link operation can be started, otherwise false.
This method is called only when the link operation initiated.
Gets the value specifying whether the link operation can be completed, or not.
SchedulingLinkState identifying the current link operation.
True when the link operation can be finished, otherwise false.
This method is called on every mouse move.
Applies the effect of the link operation when it is successful.
SchedulingLinkState that provides context for the current operation.
This method is called only if the link operation is successful and it is meant to do the actual link.
When overridden in a derived class cleans up a cancelled link operation. This method is called only in the context of the link source control.
SchedulingLinkState that provides context for the current operation.
This method is called only when the link operation is cancelled by the user. If this method is called, the Link method is not called.
Attached property to specify the DragDropElementType of elements.
Gets the value of the DragDropElementType attached property.
Sets the value of the DragDropElementType attached property.
Represents the drop relative position of the items when reordering.
Gets the highlighted item.
Updates the highlight on user interaction.
The data item or the container that was affected by the UI operation.
Indicates which mouse button was used to perform the operations.
Clears the highlight.
Gets the selected item.
Updates the selection on user interaction. The second SelectionMouseState parameter is optional. By default is SelectionMouseState.Left.
The data item or the container that was affected by the UI selection operation.
Indicates which mouse button was used to perform the operations.
Retrieves all currently selected items.
A list, containing all currently selected items.
When overridden in a derived class, is invoked whenever application code or internal processes call .
Called before the event occurs.
The data for the event.
Called before the event occurs.
The data for the event.
Gets or sets HighlightedItem and notifies for changes.
Implement this interface on items, which need MouseOverHighlightHelper.
Resets the theme.
Raises the event. This method is invoked whenever is set to true internally.
The that contains the event data.
The base class for drag-drop operation behaviors for the scheduling controls.
When overridden in a derived class cleans up a cancelled drag operation. This method is called only in the context of the drag source control.
DragDropState that provides context for the current operation.
This method is called only when the drag operation is cancelled by the user. If this method is called, the source's DragDropCompleted and
target's Drop methods are not called.
When overridden in a derived class completes the drag operation. This method is called only in the context of the drag source control.
DragDropState that provides context for the current operation.
DragDropEffects with which the drag operation have finished.
When the drag source and the drop target are the same control, this method is called after Drop.
This method is called only when the drag operation completed successfully. If this method is called, DragDropCanceled is not called.
Gets the value specifying whether the drag operation can be started, or not.
DragDropState that provides context for the current operation.
True when the drag operation can be started, otherwise false.
This method is called only when the drag operation initiated.
Gets the value specifying whether the drag operation can be completed, or not.
DragDropState identifying the current drag operation.
True when the drag operation can be finished, otherwise false.
This method is called on every mouse move. All properties in the DragDropState are valid.
When overridden in a derived class completes the drop operation. This method is called only in the context of the drop target control.
DragDropState that provides context for the current operation.
When the drag source and the drop target are the same control, this method is called before DragCompleted.
Creates a new instance of the SchedulingDragDropBehavior class.
The new SchedulingDragDropBehavior instance.
Gets the drop position for the reorder based on the overlapping value.
This value indicates how much the dragged item is over the destination item. This value is between 0 and 1.
Returns DropRelativePosition enum value.
Move or copy an item.
Change the size or the range of an item.
Create dependency, add link, etc.
Gets or sets TargetItem. TargetItem is the dragged item while dragging and the resized item while resizing.
Gets or sets DestinationSlot and notifies for changes. This property is needed to provide a visual feedback in the DragCue for the destination slot.
It SHOULD NOT be used for any other reasons.
Represents the interaction state for the reorder operations in the grid area.
Initializes a new instance of the Telerik.Windows.Controls.Scheduling.SchedulingDragDropState class.
Indicates whether the Control key is pressed or not.
Indicates whether the Shift key is pressed or not.
Indicates whether the operation is reorder in the grid section or drag in the timeline section.
The destination slot in the drag and drop operation.
The time to drop corresponding to the mouse cursor's position.
The dragged item.
The service provider of the drag source.
The service provider of the drop destination.
The source group key for the reordering.
The destination group key for the reordering.
Gets the value that indicates whether the operation is vertical reorder or horizontal drag.
Gets the dragged item.
Gets the source group key for the reordering.
Gets the destination group key for the reordering.
Gets a value that specifies whether the drag source and the drop target are the same control.
Gets the value that represents what area of the dragged item is over the drop target. This value is between 0 and 1.
Gets the drag source control ServiceProvider. This property should never be null. This object can be used to access well known services like editing, selection, etc.
Gets the drop target control ServiceProvider. This property is null when the state represents the context of the drag source control.
This object can be used to access well known services like editing, selection, etc.
Sets the overlapping value.
The value. It must be between 0 and 1.
Represents the basic interaction state. It is inherited from the different drag and drop interaction states.
Initializes a new instance of the Telerik.Windows.Controls.Scheduling.SchedulingInteractionState class.
Indicates whether the Control key is pressed or not.
Indicates whether the Shift key is pressed or not.
The destination slot in the drag and drop operation.
The time to drop corresponding to the mouse cursor's position.
The service provider of the drag source.
Gets or sets the state of the Control key in the moment when the DragDropState was created.
Gets or sets the state of the Shift key in the moment when the DragDropState was created.
Gets or sets the destination slot.
The destination slot.
Gets the time to drop corresponding to the mouse cursor's position.
Gets the service provider of the drag source. This object can be used to access well known services like editing, selection, etc.
Provides a context for a drag-drop link operation.
Gets the DragDropElementType of the source element, i.e. the item from which the link operation began.
Gets the DragDropElementType of the target element.
Gets the target's element group key.
Gets the source from which the link operation began.
Provides a context for a drag-drop operation.
Initializes a new instance of the class.
Gets a value determining whether the target is resized from start or end.
True if the target is resized from its end; false otherwise.
Gets the target of the resize operations, i.e. the resized item.
Class representing destination slot of the dragged item.
Gets or sets the start.
The start.
Gets or sets the end.
The end.
Identifies the Effects dependency property.
Identifies the CueTemplateSelector dependency property.
Initializes a new instance of the class.
Gets or sets the Effects. This is a dependency property.
Gets or sets the CueTemplateSelector. This is a dependency property.
When overridden in a derived class, is invoked whenever application code or internal processes call .
Called when the System.Windows.Controls.ContentControl.Content property changes.
The old value of the System.Windows.Controls.ContentControl.Content property.
The new value of the System.Windows.Controls.ContentControl.Content property.
Updates the visual state of the DragVisual.
Default provider for the visual cue of the dragged event.
Gets or sets the style of the visual cue, rendered when an item is dragged.
Gets or sets the style of the visual cue, rendered when an item is resized.
Gets or sets the style of the visual cue, rendered when an item is being linked to another one.
Specifies whether the drag-drop effects will change the mouse cursor or not. Return true if the cursor should change depending the drag-drop effects, otherwise false.
When overridden in a derived class allows customization of the drag visual.
The that describes the initiated operation.
The generated for the initiated operation.
When overridden in a derived class allows customization of the type of the drag visual.
The that describes the initiated operation.
The new to be used for the initiated operation.
When overridden in a derived class allows customization of the drag visual offset relatively to the mouse pointer.
Allows customization of the drag visual. If the returned element
implements IEffectsPresenter, its Effects property will be automatically set during the drag-drop operation.
Represents a behavior of expand by default functionality in hierarchical controls.
Initializes a new instance of the class.
Gets the value specifying whether the HierarchicalItem should be expanded by default.
HierarchicalItem identifying the current item to be used.
True when hierarchical item should be expanded by default, otherwise false.
Expands the children of the provided data item to make them available.
If the item doesn't have any children this method will return false.
The data item whose items will be expanded.
True if the expand was successful; false otherwise.
Expands the children of the parent items of the provided data item.
The data item whose parents will be expanded.
True if the expand was successful; false otherwise.
Expands multiple items to make their children available by giving a collections of data items.
The collection of items to be expanded.
Collapses the children of the provided data item.
The data item whose children will be collapsed.
Represents a behavior of expand by default functionality in hierarchical controls.
Gets the value specifying whether the HierarchicalItem should be expanded by default.
HierarchicalItem identifying the current item to be used.
True when hierarchical item should be expanded by default, otherwise false.
Initializes a new instance of the class.
Initializes a new instance of the class.
Gets or sets the IDataObjectProvider instance that will be used in the drag-drop operations.
Gets or sets the DragDropBehavior that will be used in the drag-drop operations.
Gets or sets DragDropBehavior and notifies for changes
Gets or sets the ResizeBehavior that will be used in the drag-resize operations.
Gets or sets DragResizeVisualProvider and notifies for changes.
A sorted collection of non-intersecting visible ranges.
Gets or sets SlotGenerator and notifies for changes.
Gets or sets Rounder and notifies for changes.
Converts offset in ticks to pixels where the zero tick (with value 0) corresponds to the 0 pixels offset.
The offset to be converted where 0 is the base value.
The offset converted to pixels.
Converts offset in pixels to ticks offset where the zero tick (with value 0) corresponds to the 0 pixels offset.
Resets the theme.
Resets the theme.
Raises the event. This method is invoked whenever is set to true internally.
The that contains the event data.
Resets the theme.
Raises the event. This method is invoked whenever is set to true internally.
The that contains the event data.
Resets the theme.
Raises the event. This method is invoked whenever is set to true internally.
The that contains the event data.
Resets the theme.
Raises the event. This method is invoked whenever is set to true internally.
The that contains the event data.
Identifies the FormattedValue dependency property.
Identifies the DateTime dependency property.
Gets or sets the DateTime. This is a dependency property.
Gets or sets the FormattedValue. This is a dependency property.
Resets the theme.
Raises the event. This method is invoked whenever is set to true internally.
The that contains the event data.
Resets the theme.
Raises the event. This method is invoked whenever is set to true internally.
The that contains the event data.
Resets the theme.
Resets the theme.
Raises the event. This method is invoked whenever is set to true internally.
The that contains the event data.
Resets the theme.
Raises the event. This method is invoked whenever is set to true internally.
The that contains the event data.
Resets the groups data source. This method should be called when the grouping is changed, or the items source collection is replaced.
Data source observes the items collection for collection changes.
Gets the CellState of the CellInfo.
Gets or sets VisibleRange and notifies for changes.
Gets or sets TimeLineFilteringBehavior and notifies for changes.
Represents the default behavior of the TimeRuler.
Gets all items in the visible area with the current state.
The state.
IEnumerable of items.
Defines basic method and property of a time ruler behavior.
Gets all items in the visible area with the current state.
The state.
IEnumerable of items.
Identifies the Intervals dependency property.
Identifies the MinTickLength dependency property.
Identifies the Height dependency property.
Gets or sets the Intervals. This is a dependency property.
Gets or sets the MinTickLength. This is a dependency property.
Gets or sets the Height of the time ruler line. This is a dependency property.
Represents the current state of the TimeRulerBehavior.
Initializes a new instance of the class. This class is sealed.
The time line settings of the current instance.
The time ruler settings of the current instance.
The culture settings of the current instance.
The visible range of the current instance.
Gets the value of the time line settings.
Gets the value of the time ruler settings.
Gets the value of the culture settings.
Gets the value of the visible range.
Gets all GanttTasks in the visible range.
Identifies the VisibleRangeStart dependency property.
Identifies the VisibleRangeEnd dependency property.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start.
The end.
Occurs when a property value changes.
Gets or sets the Start of the range. This is a dependency property.
Gets or sets the End of the range. This is a dependency property.
Raises the PropertyChanged event. This method is called when a property of this control is changed.
The name of the property that was changed.
When implemented in a derived class, creates a new instance of the derived class.
The new instance.
Indicates the state of the cell.
This class hooks to the target's keyboard events and notifies a specified observer for them translating the physical coordinates to logical.
Hooks a to the specified target and a mouse observer. When a keyboard event is fired on the target
it will be translated to a high-level event with high-level parameters and the corresponding method of the observer will be called.
The target to which events to hook the helper to.
The observer to be notified.
The interaction helper created as a result of the operation. Null if the action have failed.
When overridden in the derived class, this method hooks the events to the target of the helper.
The target to which to hook the events to.
When overridden in the derived class, this method unhooks the events from the target of the helper.
The target from which to unhook the events.
Abstract base class for all interaction helpers. The purpose of the interaction helpers is to hook to low-level control-related events and to
translate them to high-level logical events and notify a provided observer for these events.
Initializes a new instance of the InteractionHelperBase class.
The target to which to hook the events.
When overridden in the derived class, this method hooks the events to the target of the helper.
The target to which to hook the events to.
When overridden in the derived class, this method unhooks the events from the target of the helper.
The target from which to unhook the events.
This class hooks to the target's mouse events and notifies a specified observer for them translating the physical coordinates to logical.
Hooks a to the specified target and a mouse observer. When a mouse event is fired on the target
it will be translated to a high-level event with high-level parameters and the corresponding method of the observer will be called.
The target to which events to hook the helper to.
The observer to be notified.
The interaction helper created as a result of the operation. Null if the action have failed.
Hooks a MouseInteractionHelper to the specified target and a mouse observer. When a mouse event is fired on the target
it will be translated to a high-level event with high-level parameters and the corresponding method of the observer will be called.
This method accepts two helpers that translate physical to logical coordinates.
The target to which events to hook the helper to.
The helper to be used to convert the coordinates on X axis.
The helper to be used to convert the coordinates on Y axis.
The observer to be notified.
The interaction helper created as a result of the operation. Null if the action have failed.
When overridden in the derived class, this method hooks the events to the target of the helper.
The target to which to hook the events to.
When overridden in the derived class, this method unhooks the events from the target of the helper.
The target from which to unhook the events.
MouseInteractionHelperBase is a base class for all interaction helpers related to the screen coordinates like mouse events, drag and drop.
Initializes a new instance of the class.
The target to which events to hook the helper to.
The helper to be used to convert the coordinates on X axis.
The helper to be used to convert the coordinates on Y axis.
Converts physical coordinates at the screen to logical, depending on the logic implemented in the verticalRenderingHelper. This method works with
local screen coordinates and reflects also the scroll offset.
The local value at the Y axis to be calculated. The method uses the Viewport property of the target if it is a .
The converted logical value.
Converts from logical coordinates to a vertical range of render coordinates.
It expects a parameter of ICellCoordinates type.
Range of the start and end render coordinates of the cell.
Converts physical coordinates at the screen to logical, depending on the logic implemented in the horizontalRenderingHelper. This method works with
local screen coordinates and reflects also the scroll offset.
The local value at the X axis to be calculated. The method uses the Viewport property of the target if it is a .
The converted logical value.
This control represents a splitter between Gantt's Grid area and the Timeline.
Initializes a new instance of the class.
Identifies the AutoSizeTimeline dependency property.
Gets or sets FirstWorkingDay and notifies for changes.
Gets or sets WorkingDaysCount and notifies for changes.
Represents an interface that provides DataChanged event handler.
Occurs when the data changes.
This method retrieves the index of the next item that has the same or upper level then the item with specified index.
This method retrieves the index of the next item that has the same or upper level then the item with specified index.
The count of the items for which the statistics are held.
Inserts a new item with the currently calculated default values at a specified index.
The index in which to be inserted the new item.
Removes an item from the specified index.
The index to be removed.
This method for test purposes only.