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

ISnapService

Interface

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:

C#
public interface ISnapService

Derived Classes: DefaultSnapBehaviorMonthViewSnapBehaviorSnapBehavior

Methods

Snaps the end.

C#
DateTime SnapEnd(SnapData snapData, DateTime timeToSnap)
Parameters:snapDataSnapData

The snap data.

timeToSnapDateTime

The time to snap.

Returns:

DateTime

Snaps the start.

C#
DateTime SnapStart(SnapData snapData, DateTime timeToSnap)
Parameters:snapDataSnapData

The snap data.

timeToSnapDateTime

The time to snap.

Returns:

DateTime