SnapMargin Property
Description
Specifies the margin that a block must be dragged into before it will snap to another block or snap to a marker. (Track Control)
Property Type
Read-write property
Syntax (Visual Basic)
Public Property SnapMargin() As Integer
Return Type
The margin, in pixels, that a block must be dragged into before it will snap to another block or snap to a marker.
Remarks
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.
When dragging a block, it will attempt to "snap" to the nearest adjacent block or marker once the block being dragged enters the "SnapMargin" of the marker or block.
TrackControl.SnapMargin = 10
TrackControl.SnapToBlocks = True
TrackControl.SnapToMarkers = True

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