Back to Devexpress

TdxMapControlNavigationPanel.ShowZoomTrackBar Property

vcl-dxmapcontrol-dot-tdxmapcontrolnavigationpanel-bb60d0ba.md

latest2.5 KB
Original Source

TdxMapControlNavigationPanel.ShowZoomTrackBar Property

Switches the visibility of the zoom track bar.

Declaration

delphi
property ShowZoomTrackBar: Boolean read; write; default True;

Property Value

TypeDefaultDescription
BooleanTrueTrue Default. The zoom track bar is visible if the parent Map Control‘s OptionsBehavior.Zooming property is set to True ( default ).FalseThe zoom track bar is hidden.

Remarks

Users can do the following to zoom the displayed map in or out if the Map Control‘s OptionsBehavior.Zooming property is set to True ( default ):

  • Click and drag the zoom thumb, click any position on the zoom track, or click increment and decrement buttons if the ShowZoomTrackBar property is set to True ( default ).
  • Hold Shift and Ctrl keys and drag the mouse pointer to use marquee zoom.
  • Press + and - keys.
  • Rotate the mouse wheel.

Zoom Track Bar

The zoom track bar indicates the current zoom level and allows users to zoom the map in or out.

UI Elements

Increment/Decrement ButtonsIncrease and decrease the ZoomLevel property value by 1.Zoom TrackUsers can click any position on the zoom track to set the corresponding zoom level. The zoom thumb moves to the clicked position.Zoom ThumbIndicates the current zoom level on the zoom track. Users can drag the thumb like any other slider.

Default Value

The ShowZoomTrackBar property’s default value is True.

See Also

TdxCustomMapControl.ZoomLevel Property

TdxMapControlNavigationPanel.Style Property

TdxMapControlNavigationPanel Class

TdxMapControlNavigationPanel Members

dxMapControl Unit