PocketPlanner Programmer's Guide

ResourceViewSettings.SnapUnit Property

See Also

Gets or sets the snap unit.

Namespace: MindFusion.Scheduling.Compact
Assembly: PocketPlanner

 Syntax

C#

public TimeUnit SnapUnit { get; set; }

Visual Basic

Public Property SnapUnit As TimeUnit

 Property Value

A member of the TimeUnit enumeration. Assign Unspecified to this property to use the corresponding value from the current theme.

 Remarks

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.

 See Also