Gets or sets the snap unit.
Namespace: MindFusion.Scheduling.WinForms
Assembly: MindFusion.Scheduling
SyntaxC#
Copy Code
|
|---|
public TimeUnit SnapUnit { get; set; } |
Visual Basic
Copy Code
|
|---|
Public Property SnapUnit As TimeUnit |
A member of the TimeUnit enumeration. Assign Unspecified to this property to use the corresponding value from the current theme.
RemarksSpecifies the time unit of the nearest value to align to when an item is being modified interactively. For example specifying Day causes the manipulated item to always be aligned to the nearest day. To practically disable snapping, specify Second for this property.
See Also