Search
ListViewSettings.setSnapUnit Method
See Also
 






Sets the snap unit.

Namespace: com.mindfusion.scheduling
Package: com.mindfusion.scheduling

 Syntax

Java  Copy Code

public void setSnapUnit (
    TimeUnit value
)

 Parameters

value

One of the TimeUnit constants. Set to null to use the corresponding value from the current theme.

 Remarks

Use this property in a conjunction with setEnableSnapping to specify the precision with which users can move and resize items interactively. If setEnableSnapping is set to false the value of this property is ignored and items snap to cell borders.

 See Also