Class
DragResizeVisualProvider

Default provider for the visual cue of the dragged event.

Definition

Namespace:Telerik.Windows.Controls.Scheduling

Assembly:Telerik.Windows.Scheduling.Core.dll

Syntax:

cs-api-definition
public class DragResizeVisualProvider : IDragVisualProvider

Inheritance: objectDragResizeVisualProvider

Derived Classes: GanttDragResizeVisualProvider

Implements: IDragVisualProvider

Constructors

DragResizeVisualProvider()

Declaration

cs-api-definition
public DragResizeVisualProvider()

Properties

DependencyVisualCueStyle

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

Declaration

cs-api-definition
public Style DependencyVisualCueStyle { get; set; }

Property Value

Style

DragVisualCueStyle

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

Declaration

cs-api-definition
public Style DragVisualCueStyle { get; set; }

Property Value

Style

ResizeVisualCueStyle

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

Declaration

cs-api-definition
public Style ResizeVisualCueStyle { get; set; }

Property Value

Style

UseDefaultCursors

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.

Declaration

cs-api-definition
public bool UseDefaultCursors { get; set; }

Property Value

bool

Implements IDragVisualProvider.UseDefaultCursors

Methods

CreateDragVisualCore(DragResizeVisualProviderState)

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

Declaration

cs-api-definition
protected virtual DragResizeVisualCue CreateDragVisualCore(DragResizeVisualProviderState state)

Parameters

state

DragResizeVisualProviderState

The DragResizeVisualProviderState that describes the initiated operation.

Returns

DragResizeVisualCue

The new DragResizeVisualCue to be used for the initiated operation.

GetDragVisualOffset(DragResizeVisualProviderState)

When overridden in a derived class allows customization of the drag visual offset relatively to the mouse pointer.

Declaration

cs-api-definition
protected virtual Point GetDragVisualOffset(DragResizeVisualProviderState state)

Parameters

state

DragResizeVisualProviderState

Returns

Point

PrepareVisualCue(DragResizeVisualProviderState, DragResizeVisualCue)

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

Declaration

cs-api-definition
protected virtual void PrepareVisualCue(DragResizeVisualProviderState state, DragResizeVisualCue cue)

Parameters

state

DragResizeVisualProviderState

The DragResizeVisualProviderState that describes the initiated operation.

cue

DragResizeVisualCue

The DragResizeVisualCue generated for the initiated operation.