This sample illustrates a segmented progress of a task.
This demo for Progress Bar control shows the segmented progress of a task using segmentCount and gapWidth property.
segmentCount
gapWidth