Interface
ISnapService

An service used to snap star/end of appointments during drag/resize.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public interface ISnapService

Methods

SnapEnd(SnapData, DateTime)

Snaps the end.

Declaration

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

Parameters

snapData

SnapData

The snap data.

timeToSnap

DateTime

The time to snap.

Returns

DateTime

SnapStart(SnapData, DateTime)

Snaps the start.

Declaration

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

Parameters

snapData

SnapData

The snap data.

timeToSnap

DateTime

The time to snap.

Returns

DateTime