Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TrackBarContextButton.ShowZoomButtons Property

Gets or sets whether the zoom buttons are displayed.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowZoomButtons { get; set; }

#Property Value

Type Default Description
Boolean true

true if the zoom buttons are displayed; otherwise, false.

#Remarks

By default, the TrackBarContextButton displays the zoom buttons that allow an end-user to increase or decrease the track value (see TrackBarContextButton.Value). Set the ShowZoomButtons property to false to hide these buttons. When the zoom buttons are hidden, an end-user can still change the track value by dragging the control’s thumb.

The TrackBarContextButton.SmallChange property specifies the value by which the track value changes when a zoom button is clicked.

See Also