Skip to main content
Tab

ASPxTrackBar.MainDragHandleImage Property

Provides access to the settings that define an image of a main drag handle.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public virtual TrackBarElementImageProperties MainDragHandleImage { get; }

Property Value

Type Description
TrackBarElementImageProperties

A TrackBarElementImageProperties object that contains image settings.

Remarks

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

Example

This example demonstrates how to set your own drag handle images using the ASPxTrackBar.MainDragHandleImage and ASPxTrackBar.SecondaryDragHandleImage properties.

trackbar_example_drag_handles_images

<dx:ASPxTrackBar ID="ASPxTrackBar1" runat="server" ScalePosition="Both" 
    AllowRangeSelection="True">
    <MainDragHandleImage Height="20px" Url="~/imgs/main_draghandle_img.png" Width="14px">
    </MainDragHandleImage>
    <SecondaryDragHandleImage Height="20px" Url="~/imgs/sec_draghandle_img.png" Width="14px">
    </SecondaryDragHandleImage>
</dx:ASPxTrackBar>
See Also