Back to Devexpress

TrackBarEdit.ValueToolTipPlacement Property

wpf-devexpress-dot-xpf-dot-editors-dot-trackbaredit-38a5c395.md

latest3.0 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public TrackBarEditValueToolTipPlacement ValueToolTipPlacement { get; set; }
vb
Public Property ValueToolTipPlacement As TrackBarEditValueToolTipPlacement

Property Value

TypeDescription
TrackBarEditValueToolTipPlacement

A TrackBarEditValueToolTipPlacement enumeration value.

|

Available values:

NameDescription
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

xaml
<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

ValueToolTipContentTemplate

ValueToolTipStringFormat

TrackBarEdit Class

TrackBarEdit Members

DevExpress.Xpf.Editors Namespace