Markers Property
Description
Collection of markers used by the Track Control.
Property Type
Read-only property
Syntax (Visual Basic)
Public Property Markers() As [TrackMarkers](XtremeGridControl~TrackMarkers.md)
Return Type
Reference to the collection of TrackMarkers.
Remarks
Markers are used for block alignment; blocks can be "snapped" to the left or right of these markers.
Dim Marker As TrackMarker
Set Marker = TrackControl.Markers.[Add](XtremeGridControl~TrackMarkers~Add.md)(20, "0")
Marker.Caption = "1"
TrackControl.Markers.[Add](XtremeGridControl~TrackMarkers~Add.md)(70, "2")
TrackControl.Markers.[Add](XtremeGridControl~TrackMarkers~Add.md)(90, "3")
The code above adds 3 markers to the track control. These markers are placed in the timeline at the specified time units: 20, 70, and 90. Markers can be moved by the user by simply dragging the marker to a new location on the timeline.

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