Interface
ISnapService

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

Definition

Namespace:Telerik.UI.Xaml.Controls.Scheduler

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public interface ISnapService

Derived Classes: DefaultSnapBehaviorMonthViewSnapBehaviorSnapBehavior

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