Class SchedulingLinkBehavior
The base class for drag-drop linking operation behaviors for the scheduling controls.
Inherited Members
Namespace: Telerik.Windows.Controls.Scheduling
Assembly: Telerik.Windows.Scheduling.Core.dll
Syntax
public abstract class SchedulingLinkBehavior : PlatformIndependentFreezable, ISchedulingLinkBehavior
Constructors
SchedulingLinkBehavior()
Declaration
protected SchedulingLinkBehavior()
Methods
CanLink(SchedulingLinkState)
Gets the value specifying whether the link operation can be completed, or not.
Declaration
protected virtual bool CanLink(SchedulingLinkState state)
Parameters
SchedulingLinkState
state
SchedulingLinkState identifying the current link operation. |
Returns
System.Boolean
True when the link operation can be finished, otherwise false. |
Remarks
This method is called on every mouse move.
CanStartLink(SchedulingLinkState)
Gets the value specifying whether the link operation can be started, or not.
Declaration
protected virtual bool CanStartLink(SchedulingLinkState state)
Parameters
SchedulingLinkState
state
SchedulingLinkState that provides context for the current link operation. |
Returns
System.Boolean
True when the link operation can be started, otherwise false. |
Remarks
This method is called only when the link operation initiated.
Link(SchedulingLinkState)
Applies the effect of the link operation when it is successful.
Declaration
protected abstract void Link(SchedulingLinkState state)
Parameters
SchedulingLinkState
state
SchedulingLinkState that provides context for the current operation. |
Remarks
This method is called only if the link operation is successful and it is meant to do the actual link.
LinkCanceled(SchedulingLinkState)
When overridden in a derived class cleans up a cancelled link operation. This method is called only in the context of the link source control.
Declaration
protected abstract void LinkCanceled(SchedulingLinkState state)
Parameters
SchedulingLinkState
state
SchedulingLinkState that provides context for the current operation. |
Remarks
This method is called only when the link operation is cancelled by the user. If this method is called, the Link method is not called.
Explicit Interface Implementations
ISchedulingLinkBehavior.CanLink(SchedulingLinkState)
Declaration
bool ISchedulingLinkBehavior.CanLink(SchedulingLinkState state)
Parameters
SchedulingLinkState
state
|
Returns
System.Boolean
|
Implements
ISchedulingLinkBehavior.CanStartLink(SchedulingLinkState)
Declaration
bool ISchedulingLinkBehavior.CanStartLink(SchedulingLinkState state)
Parameters
SchedulingLinkState
state
|
Returns
System.Boolean
|
Implements
ISchedulingLinkBehavior.Link(SchedulingLinkState)
Declaration
void ISchedulingLinkBehavior.Link(SchedulingLinkState state)
Parameters
SchedulingLinkState
state
|
Implements
ISchedulingLinkBehavior.LinkCanceled(SchedulingLinkState)
Declaration
void ISchedulingLinkBehavior.LinkCanceled(SchedulingLinkState state)
Parameters
SchedulingLinkState
state
|