Class
SnapBehavior

An abstract class representing the behavior that is used to snap time during drag and resize operation.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public abstract class SnapBehavior : Freezable, ISnapService

Inheritance: objectSnapBehavior

Derived Classes: DefaultSnapBehaviorMonthViewSnapBehavior

Implements: ISnapService

Constructors

SnapBehavior()

Declaration

cs-api-definition
protected SnapBehavior()

Methods

SnapEnd(SnapData, DateTime)

Snaps the end.

Declaration

cs-api-definition
public abstract DateTime SnapEnd(SnapData snapData, DateTime timeToSnap)

Parameters

snapData

SnapData

The state during snap operation.

timeToSnap

DateTime

The time to snap.

Returns

DateTime

Implements ISnapService.SnapEnd(SnapData, DateTime)

SnapStart(SnapData, DateTime)

Snaps the start.

Declaration

cs-api-definition
public abstract DateTime SnapStart(SnapData snapData, DateTime timeToSnap)

Parameters

snapData

SnapData

The state during snap operation.

timeToSnap

DateTime

The time to snap.

Returns

DateTime

Implements ISnapService.SnapStart(SnapData, DateTime)