New to Telerik UI for WPFStart a free 30-day trial

Default provider for the visual cue of the dragged event.

Definition

Namespace:Telerik.Windows.Controls.Scheduling

Assembly:Telerik.Windows.Scheduling.Core.dll

Syntax:

C#
public class DragResizeVisualProvider : IDragVisualProvider

Inheritance: objectDragResizeVisualProvider

Derived Classes: GanttDragResizeVisualProvider

Implements: IDragVisualProvider

Constructors

C#
public DragResizeVisualProvider()

Properties

Gets or sets the style of the visual cue, rendered when an item is being linked to another one.

C#
public Style DependencyVisualCueStyle { get; set; }

Gets or sets the style of the visual cue, rendered when an item is dragged.

C#
public Style DragVisualCueStyle { get; set; }

Gets or sets the style of the visual cue, rendered when an item is resized.

C#
public Style ResizeVisualCueStyle { get; set; }

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.

C#
public bool UseDefaultCursors { get; set; }

Implements: IDragVisualProvider.UseDefaultCursors

Methods

When overridden in a derived class allows customization of the type of the drag visual.

C#
protected virtual DragResizeVisualCue CreateDragVisualCore(DragResizeVisualProviderState state)
Parameters:stateDragResizeVisualProviderState

The DragResizeVisualProviderState that describes the initiated operation.

Returns:

DragResizeVisualCue

The new DragResizeVisualCue 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.

C#
protected virtual Point GetDragVisualOffset(DragResizeVisualProviderState state)
Parameters:stateDragResizeVisualProviderStateReturns:

Point

When overridden in a derived class allows customization of the drag visual.

C#
protected virtual void PrepareVisualCue(DragResizeVisualProviderState state, DragResizeVisualCue cue)
Parameters:stateDragResizeVisualProviderState

The DragResizeVisualProviderState that describes the initiated operation.

cueDragResizeVisualCue

The DragResizeVisualCue generated for the initiated operation.