Class SchedulingBehaviorBase
Represents the base class for scheduling operations.
Inherited Members
Namespace: Telerik.Windows.Controls.Scheduling
Assembly: Telerik.Windows.Scheduling.Core.dll
Syntax
public abstract class SchedulingBehaviorBase : PlatformIndependentFreezable
Constructors
SchedulingBehaviorBase()
Declaration
protected SchedulingBehaviorBase()
Methods
BeginEdit(SchedulingInteractionState, Object)
This method puts the item in edit state.
Declaration
protected static bool BeginEdit(SchedulingInteractionState state, object item)
Parameters
Scheduling The SchedulingInteractionState state. The object editor from the SchedulingInteractionState.ServiceProvider is used to start editing. |
System. The item on which the editing operation has been started. |
Returns
System. Whether the edit operation is began or not. |
Cancel(SchedulingInteractionState)
This method cancels all changes that has been done to the scheduling item.
Declaration
protected static bool Cancel(SchedulingInteractionState state)
Parameters
Scheduling The SchedulingInteractionState state. The object editor from the SchedulingInteractionState.ServiceProvider is used to cancel editing. |
Returns
System. Whether the cancel operation is performed. |
Commit(SchedulingInteractionState)
This method commits all changes that has been done to the scheduling item.
Declaration
protected static bool Commit(SchedulingInteractionState state)
Parameters
Scheduling The SchedulingInteractionState state. The object editor from the SchedulingInteractionState.ServiceProvider is used to commit editing. |
Returns
System. Whether the commit operation is performed. |
TryApplyChanges(SchedulingInteractionState, Object, IDateRange)
This method applies the changes for the scheduling operation.
Declaration
protected static bool TryApplyChanges(SchedulingInteractionState state, object originalItem, IDateRange targetRange)
Parameters
Scheduling The SchedulingInteractionState state used for the operation. |
System. Expects IDateRange item in the base implementation. |
IDate The new range that is applied for the originalItem. |
Returns
System. True, if the changes are applied successfully. Otherwise returns false. |