SnapToMarkers Property
Description
Gets or sets whether blocks getting dragged will "snap" to markers. (Track Control)
Property Type
Read-write property
Syntax (Visual Basic)
Public Property SnapToMarkers() As Boolean
Return Type
True to snap to other markers, False to not snap to other markers.
Remarks
When SnapToMarkers is True, while dragging a block it will attempt to "snap" to the nearest marker once the block being dragged enters the SnapMargin of the marker.
The SnapMargin specifies the margin, in pixels, that a block must be dragged into before it will snap to another block or snap to a marker.
TrackControl.SnapMargin = 10
TrackControl.SnapToBlocks = True
TrackControl.SnapToMarkers = True

See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.