Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V20.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.v20.1.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