Class MonthViewSnapBehavior
A class representing the behavior that is used to snap appointment start/end during drag and resize operation in MonthView.
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class MonthViewSnapBehavior : SnapBehavior, ISnapService
Constructors
MonthViewSnapBehavior()
Declaration
public MonthViewSnapBehavior()
Methods
SnapEnd(SnapData, DateTime)
Snaps the end.
Declaration
public override DateTime SnapEnd(SnapData snapData, DateTime timeToSnap)
Parameters
SnapData
snapData
The state during snap operation. |
System.DateTime
timeToSnap
The time to snap. |
Returns
System.DateTime
|
Overrides
SnapStart(SnapData, DateTime)
Snaps the start.
Declaration
public override DateTime SnapStart(SnapData snapData, DateTime timeToSnap)
Parameters
SnapData
snapData
The state during snap operation. |
System.DateTime
timeToSnap
The time to snap. |
Returns
System.DateTime
|