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

TrackBarEdit.TickItemStringFormat Property

Gets or sets the composite string that specifies how to format the tick item texts. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

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

Declaration

public string TickItemStringFormat { get; set; }

Property Value

Type Description
String

The composite string that specifies how to format the tick item texts.

Remarks

The TickItemStringFormat format string is applied to the editor’s tick items. Set the TickItemDisplayMode property to Text or TickAndText to display text within the tick items.

Example

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

...
<dxe:TrackBarEdit
    TickFrequency="10"
    TickPlacement="BottomRight"
    TickItemDisplayMode="TickAndText"
    TickItemStringFormat="n1" />
<dxe:TrackBarEdit
    TickFrequency="10"
    TickPlacement="BottomRight"
    TickItemDisplayMode="TickAndText"
    TickItemStringFormat="c0" />

See Also