Back to Devexpress

TrackBarEdit.TickItemStringFormat Property

wpf-devexpress-dot-xpf-dot-editors-dot-trackbaredit-03dbdffe.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public string TickItemStringFormat { get; set; }
vb
Public Property TickItemStringFormat As String

Property Value

TypeDescription
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

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

TrackBarEdit Class

TrackBarEdit Members

DevExpress.Xpf.Editors Namespace