Default Slider Value

2 posts, 0 answers
  1. Bruce
    Bruce avatar
    5 posts
    Member since:
    Dec 2011

    Posted 28 Sep 2013 Link to this post

    I have a RadSlider from 1 to 10, everything is working the way I want to, but the Slider always starts with a value of 10. I want the default value to be 1. How can I set this up?
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1183 posts

    Posted 03 Oct 2013 Link to this post

    Hi Bruce,

    I can not be sure about your current implementation, this is why I would like you to elaborate more on your scenario. I tried to reproduce the reported behavior with our latest official release on our side and it seems that the code works as expected.

    I tried the following code:

    <Grid >
            <RowDefinition  />
            <RowDefinition  />
        <telerik:RadSlider Name="xSlider"
                           TickFrequency="1" />
        <TextBlock Text="{Binding ElementName=xSlider, Path=Value}" Grid.Row="1"/>
    When I run the application containing this code, the default Value of the RadSlider control is 1.

    Could you please try to reproduce the reported behavior in a separate project and send it over. By doing so I will be able to further investigate the reasons behind the issue.

    Thank you for your cooperation.

    Pavel R. Pavlov
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top