ZoomTrackBarControl Class
The control that helps your end-users perform zooming by sliding a thumb.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
[ToolboxTabName("DX.18.1: Common Controls")]
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "ZoomTrackBarControl")]
public class ZoomTrackBarControl :
TrackBarControl
Remarks
The ZoomTrackBarControl is appropriate for creating zoom bars similar to the Zoom Bar control in MS Office applications. It represents a track bar with the ‘+’ and ‘-‘ buttons, clicking which moves the scroll thumb in the corresponding direction:
The control’s settings are specified by the ZoomTrackBarControl.Properties property, which returns an object of the RepositoryItemZoomTrackBar type.
Use the inherited RepositoryItemTrackBar.Minimum and RepositoryItemTrackBar.Maximum properties to set the scroll range. The scroll thumb’s current position is specified by the control’s TrackBarControl.Value property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ZoomTrackBarControl class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.