Skip to main content

TrackBarContextButton.ShowZoomButtons Property

Gets or sets whether the zoom buttons are displayed.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.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