ASPxTrackBar.BarHighlightStyle Property
In This Article
Gets the style settings which define the bar highlight‘s appearance.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public virtual TrackBarTrackElementStyle BarHighlightStyle { get; }
#Property Value
Type | Description |
---|---|
Track |
A Track |
#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.
<dx:ASPxTrackBar ID="ASPxTrackBar1" runat="server" ScalePosition="LeftOrTop">
<BarHighlightStyle>
<BackgroundImage ImageUrl="~/images/bar_highlight_background.png" Repeat="Repeat" />
</BarHighlightStyle>
</dx:ASPxTrackBar>
See Also