Interface
ISchedulingResizeBehavior

The interface for resize with drag-drop operation behaviors for the scheduling controls.

Definition

Namespace:Telerik.Windows.Controls.Scheduling

Assembly:Telerik.Windows.Scheduling.Core.dll

Syntax:

cs-api-definition
public interface ISchedulingResizeBehavior

Methods

CanResize(SchedulingResizeState)

Gets the value specifying whether the resize operation can be completed, or not.

Declaration

cs-api-definition
bool CanResize(SchedulingResizeState state)

Parameters

state

SchedulingResizeState

SchedulingResizeState identifying the current resize operation.

Returns

bool

True when the resize operation can be finished, otherwise false.

Remarks

This method is called on every mouse move. All properties in the DragDropState are valid.

CanStartResize(SchedulingResizeState)

Gets the value specifying whether the resize operation can be started, or not.

Declaration

cs-api-definition
bool CanStartResize(SchedulingResizeState state)

Parameters

state

SchedulingResizeState

SchedulingResizeState that provides context for the current resize operation.

Returns

bool

True when the resize operation can be started, otherwise false.

Remarks

This method is called only when the resize operation initiated.

Resize(SchedulingResizeState)

Applies the effect of the resize operation when it is successful.

Declaration

cs-api-definition
void Resize(SchedulingResizeState state)

Parameters

state

SchedulingResizeState

SchedulingResizeState that provides context for the current operation.

Remarks

This method is called only if the resize operation is successful and it is meant to do the actual resize.

ResizeCanceled(SchedulingResizeState)

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.

Declaration

cs-api-definition
void ResizeCanceled(SchedulingResizeState state)

Parameters

state

SchedulingResizeState

SchedulingResizeState that provides context for the current operation.

Remarks

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.