Just pasting the snippet does not do any good.
As you can see there are several Styles involved (Style="{StaticResource SliderDecreaseButtonStyle} ...)
XAML is made up of sections (Ressources (Styles,ControlTemplates... ,the actual elements that make up the screen and so on).
Check this thread:
viewtopic.php?f=3&t=186&p=1620#p1620
Download the theme there and take a look into the ParameterWindow.xaml.
The XAMLs are still messy and have to be cleaned up because of unused code and redundancy.
As mentioned before the randomize slider is a standard
Slider but the actual parameter slider is adressed as
bgc:ParameterSlider.
I handled their Styles independently but could use the same style (using BasedOn=...)
They are wrapped in a Border. You can change the background of the border (the slider track in this case) as once or you can change the left and right part separately (depending on your style setup)
with this you control the separate part of the slider:
<Track Name="PART_Track">
<
Track.DecreaseRepeatButton>
<RepeatButton Style="{StaticResource SliderDecreaseButtonStyle}" Command="Slider.DecreaseLarge" />
</Track.DecreaseRepeatButton>
<
Track.Thumb>
<Thumb Style="{StaticResource SliderThumbStyle}" />
</Track.Thumb>
<
Track.IncreaseRepeatButton>
<RepeatButton Style="{StaticResource SliderIncreaseButtonStyle}" Command="Slider.IncreaseLarge" />
</Track.IncreaseRepeatButton>
</Track>
This example uses different styles for each slider track part.
Keep messing around. you will figure things out eventually
