Class DefaultSnapBehavior
A class representing the behavior that is used to snap time during drag and resize operation.
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class DefaultSnapBehavior : SnapBehavior, ISnapService
Constructors
DefaultSnapBehavior()
Declaration
public DefaultSnapBehavior()
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
|