Skip to main content

DXSliderTrackAppearance.CapLength Property

Gets or sets the cap length of the track. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public double CapLength { get; set; }

Property Value

Type Description
Double

The cap length.

Remarks

This example shows how to specify the cap length of the track in DXSlider and DXRangeSlider controls:

DevExpress MAUI Slider - Cap Length

<dxe:DXSlider Value="0">
    <dxe:DXSliderBase.TrackAppearance>
        <dxe:DXSliderTrackAppearance 
            CapLength="25" />
    </dxe:DXSliderBase.TrackAppearance> 
</dxe:DXSlider>

<dxe:DXRangeSlider StartValue="15" EndValue="85">
    <dxe:DXSliderBase.TrackAppearance>
        <dxe:DXSliderTrackAppearance 
            CapLength="25" />
    </dxe:DXSliderBase.TrackAppearance> 
</dxe:DXRangeSlider>
See Also