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

Represents the base class for scheduling operations.

Definition

Namespace:Telerik.Windows.Controls.Scheduling

Assembly:Telerik.Windows.Scheduling.Core.dll

Syntax:

C#
public abstract class SchedulingBehaviorBase : PlatformIndependentFreezable

Inheritance: objectPlatformIndependentFreezableSchedulingBehaviorBase

Derived Classes: SchedulingDragDropBehaviorSchedulingResizeBehavior

Inherited Members PlatformIndependentFreezable.CreateInstanceCore()PlatformIndependentFreezable.CreateInstanceOverride()

Constructors

C#
protected SchedulingBehaviorBase()

Methods

This method puts the item in edit state.

C#
protected static bool BeginEdit(SchedulingInteractionState state, object item)
Parameters:stateSchedulingInteractionState

The SchedulingInteractionState state. The object editor from the SchedulingInteractionState.ServiceProvider is used to start editing.

itemobject

The item on which the editing operation has been started.

Returns:

bool

Whether the edit operation is began or not.

This method cancels all changes that has been done to the scheduling item.

C#
protected static bool Cancel(SchedulingInteractionState state)
Parameters:stateSchedulingInteractionState

The SchedulingInteractionState state. The object editor from the SchedulingInteractionState.ServiceProvider is used to cancel editing.

Returns:

bool

Whether the cancel operation is performed.

This method commits all changes that has been done to the scheduling item.

C#
protected static bool Commit(SchedulingInteractionState state)
Parameters:stateSchedulingInteractionState

The SchedulingInteractionState state. The object editor from the SchedulingInteractionState.ServiceProvider is used to commit editing.

Returns:

bool

Whether the commit operation is performed.

This method applies the changes for the scheduling operation.

C#
protected static bool TryApplyChanges(SchedulingInteractionState state, object originalItem, IDateRange targetRange)
Parameters:stateSchedulingInteractionState

The SchedulingInteractionState state used for the operation.

originalItemobject

Expects IDateRange item in the base implementation.

targetRangeIDateRange

The new range that is applied for the originalItem.

Returns:

bool

True, if the changes are applied successfully. Otherwise returns false.