Skip to main content
All docs
V25.1
  • 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.1.dll

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