Skip to main content
A newer version of this page is available. .

ZoomTrackBarControl Class

The control that helps your end-users perform zooming by sliding a thumb.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[ToolboxBitmap(typeof(ToolboxIconsRootNS), "ZoomTrackBarControl")]
public class ZoomTrackBarControl :
    TrackBarControl

The following members return ZoomTrackBarControl objects:

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:

ZoomTrackBarControl

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.

See Also