Skip to main content
Tab

ASPxTrackBar.BarHighlightStyle Property

Gets the style settings which define the bar highlight‘s appearance.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public virtual TrackBarTrackElementStyle BarHighlightStyle { get; }

Property Value

Type Description
TrackBarTrackElementStyle

A TrackBarTrackElementStyle object that contains the style settings.

Remarks

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

Example

This example demonstrates how to customize the appearance of a bar highlight using a background image. In this example, the background image has a resolution of 1x1 px and is filled in red.

trackbar_example_barhighlight

<dx:ASPxTrackBar ID="ASPxTrackBar1" runat="server" ScalePosition="LeftOrTop">
       <BarHighlightStyle>
           <BackgroundImage ImageUrl="~/images/bar_highlight_background.png" Repeat="Repeat" />
       </BarHighlightStyle>
</dx:ASPxTrackBar>
See Also