Gets or sets the snap unit.
Namespace: MindFusion.Scheduling.WinForms
Assembly: MindFusion.Scheduling
C# 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.
Specifies 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.