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

TrackBarEdit.ValueToolTipPlacement Property

Gets or sets a value that specifies the item tooltips location. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.1.dll

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

Declaration

public TrackBarEditValueToolTipPlacement ValueToolTipPlacement { get; set; }

Property Value

Type Description
TrackBarEditValueToolTipPlacement

A TrackBarEditValueToolTipPlacement enumeration value.

Available values:

Name Description
None

A value tooltip is not displayed.

TopLeft

A value tooltip is displayed at the editor’s left (for the vertical orientation) or top (for the horizontal orientation).

BottomRight

A value tooltip is displayed at the editor’s right (for the vertical orientation) or bottom (for the horizontal orientation).

Remarks

The value tooltip is automatically displayed when an end user moves the track bar thumb (drags with a mouse pointer or presses the right and left arrow keys) if the ValueToolTipPlacement property is set to TopLeft or BottomRight.

To disable value tooltips, set the ValueToolTipPlacement property to None.

Use the ValueToolTipContentTemplate property to specify the value tooltip’s content template.

To format the text displayed within the value tooltip, use the ValueToolTipStringFormat property.

Example

<Window ...
        xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">

...
<dxe:TrackBarEdit
    Margin="20"
    TickFrequency="10"
    TickItemDisplayMode="TickAndText"
    TickPlacement="BottomRight"
    ValueToolTipPlacement="TopLeft" />
<dxe:TrackBarEdit
    Margin="20"
    TickFrequency="10"
    TickItemDisplayMode="TickAndText"
    TickPlacement="BottomRight"
    ValueToolTipPlacement="BottomRight"/>

See Also