ZoomTrackBarControl Class
The slider with the ‘+’ and ‘-‘ buttons.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "ZoomTrackBarControl")]
public class ZoomTrackBarControl :
TrackBarControl
Related API Members
The following members return ZoomTrackBarControl objects:
Remarks
ZoomTrackBarControl allows you to create zoom bars similar to those found in Microsoft Office applications. The control’s ‘-‘ and ‘+’ buttons move the scroll thumb to the left and right, respectively.
Demo: Zoom Track Bar module in the XtraEditors MainDemo
The control’s main settings include:
- RepositoryItemTrackBar.Minimum and RepositoryItemTrackBar.Maximum (accessible from the ZoomTrackBarControl.Properties object) - specify the scroll range.
- TrackBarControl.Value - gets or sets the currently selected value.
- RepositoryItemTrackBar.ValueChanged - Allows you to perform actions when the value changes.
- RepositoryItemTrackBar.SmallChange - The value to be added to or subtracted from the TrackBarControl.Value property when a user scrolls using the keyboard arrow keys and the mouse wheel (see RepositoryItemTrackBar.SmallChangeUseMode).
- RepositoryItemTrackBar.LargeChange - The value to be added to or subtracted from the TrackBarControl.Value property when a user presses CTRL+UP and CTRL+DOWN.
- RepositoryItemTrackBar.ShowValueToolTip - Gets or sets whether to show tooltips when hovering over the thumb(s)..
- Orientation - Specifies whether the ZoomTrackBarControl is oriented horizontally or vertically.
See the DevExpress.XtraEditors.Repository.RepositoryItemZoomTrackBar class members for additional settings.
Implements
Inheritance
See Also