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

ASPxTrackBar.MainDragHandleStyle Property

Gets the style settings which define the main drag handle appearance.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public virtual TrackBarButtonStyle MainDragHandleStyle { get; }

Property Value

Type Description
TrackBarButtonStyle

An TrackBarButtonStyle object that contains style settings.

Remarks

This property is a wrapper of the TrackBarProperties.MainDragHandleStyle property.

Example

This example demonstrates how to customize the drag handles‘ style using the MainDragHandleStyle and the SecondaryDragHandleStyle properties.

trackbar_example_drag_handle_style

<dx:ASPxTrackBar ID="ASPxTrackBar1" runat="server" ScalePosition="LeftOrTop" 
    AllowRangeSelection="True" >
    <MainDragHandleStyle BackColor="Red">
        <Border BorderColor="Black" BorderStyle="Dashed" BorderWidth="1px" />
    </MainDragHandleStyle>
    <SecondaryDragHandleStyle BackColor="Lime">
        <Border BorderColor="Black" BorderStyle="Dashed" BorderWidth="1px" />
    </SecondaryDragHandleStyle>
</dx:ASPxTrackBar>
See Also