Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3220
xamRangeSlider: How to set value in TrackFillStyle
posted

Hello,

I would like to customize the range slider, so that I can set a value in the TrackFillStyle.

See attached Screenshot. How can I do that?

I am using the TrackFillStyle:

<Style x:Key="MainCriteriaTrackFillStyle" TargetType="igPrim:TrackFill">
            <Setter Property="Template" >
                <Setter.Value>
                    <ControlTemplate>
                        <Grid>
                            <TextBlock x:Name="txtRowNumber" Text="1" FontWeight="ExtraBold" FontSize="12" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                            <Rectangle Height="{TemplateBinding Height}" Fill="#78F96232"/>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>