Class SnapBehavior
An abstract class representing the behavior that is used to snap time during drag and resize operation.
Inheritance
System.Object
SnapBehavior
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public abstract class SnapBehavior : Freezable, ISnapService
Constructors
SnapBehavior()
Declaration
protected SnapBehavior()
Methods
SnapEnd(SnapData, DateTime)
Snaps the end.
Declaration
public abstract DateTime SnapEnd(SnapData snapData, DateTime timeToSnap)
Parameters
SnapData
snapData
The state during snap operation. |
System.DateTime
timeToSnap
The time to snap. |
Returns
System.DateTime
|
Implements
SnapStart(SnapData, DateTime)
Snaps the start.
Declaration
public abstract DateTime SnapStart(SnapData snapData, DateTime timeToSnap)
Parameters
SnapData
snapData
The state during snap operation. |
System.DateTime
timeToSnap
The time to snap. |
Returns
System.DateTime
|