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

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.v24.2.dll

NuGet Package: 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