Interface ISchedulingResizeBehavior
The interface for resize with drag-drop operation behaviors for the scheduling controls.
Namespace: Telerik.Windows.Controls.Scheduling
Assembly: Telerik.Windows.Scheduling.Core.dll
Syntax
public interface ISchedulingResizeBehavior
Methods
CanResize(SchedulingResizeState)
Gets the value specifying whether the resize operation can be completed, or not.
Declaration
bool CanResize(SchedulingResizeState state)
Parameters
SchedulingResizeState
state
SchedulingResizeState identifying the current resize operation. |
Returns
System.Boolean
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
bool CanStartResize(SchedulingResizeState state)
Parameters
SchedulingResizeState
state
SchedulingResizeState that provides context for the current resize operation. |
Returns
System.Boolean
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
void Resize(SchedulingResizeState state)
Parameters
SchedulingResizeState
state
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
void ResizeCanceled(SchedulingResizeState state)
Parameters
SchedulingResizeState
state
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.