How do you change the height of the track on this control?
Hello!
We've taken a look at this and to change the height, you'll need to go into the xamSliderBase ControlTemplate. The track is basically a <Border> control and there is a Height property set on it.
Let me know if this helps.
Hi,
Thxs for the suggestion. This does increase the border, but the track that is drawn inside the border does not expand to the height of the border.
<Grid x:Name="HorizontalTrack" Background="Transparent" Grid.Column="1" Height="20">
<Border BorderBrush="#FF4E5A5E" BorderThickness="1,1,1,1" Background="#FFE7EAEA" Height="10"/>
<Canvas x:Name="HorizontalTrackFills"/>
<Canvas x:Name="HorizontalThumbs"/>
</Grid>
<ig:XamNumericRangeSlider Height="46" Margin="220,153,121,0" VerticalAlignment="Top" Style="{StaticResource XamNumericRangeSliderStyle1}">
<ig:XamSliderNumericThumb Value="25" TrackFillBrush="{Binding Color1"/>
<ig:XamSliderNumericThumb Value="50" TrackFillBrush="{Binding Color2}"/>
<ig:XamSliderNumericThumb Value="100" TrackFillBrush="{Binding Color3}"/>
</ig:XamNumericRangeSlider>
All I want to do is make the track height 10.
Rgds
Douglas