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

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:

C#
public interface ISchedulingResizeBehavior

Derived Classes: SchedulingResizeBehavior

Methods

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

C#
bool CanResize(SchedulingResizeState state)
Parameters:stateSchedulingResizeState

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.

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

C#
bool CanStartResize(SchedulingResizeState state)
Parameters:stateSchedulingResizeState

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.

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

C#
void Resize(SchedulingResizeState state)
Parameters:stateSchedulingResizeState

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.

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.

C#
void ResizeCanceled(SchedulingResizeState state)
Parameters:stateSchedulingResizeState

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.