This example demonstrates how to add snap to the middle in the the ZoomTrackBarControl control.
First, we added two properties in the custom RepositoryItemZoomTrackBar: SnapToMiddleValue that allows you to enable or disable snapping and MiddleDistance that gives you the opportunity to change the distance (as a percent) from the middle of a trackbar when snapping takes effect.