Custom Slider control

3 posts, 0 answers
  1. Khiem
    Khiem avatar
    4 posts
    Member since:
    Jan 2012

    Posted 06 Jan 2012 Link to this post

    Hi,
    I have created a custom slider control with TextBlock for each selection button. The problem is i can not access to each TextBlock to update value for each in codebehind
    Anyone can help me?
    Thank you
    Khiem
  2. Khiem
    Khiem avatar
    4 posts
    Member since:
    Jan 2012

    Posted 06 Jan 2012 Link to this post

    This is style i used for start button

  3. DevCraft banner
  4. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 10 Jan 2012 Link to this post

    Hi Khiem,

    You can bind the TextBlock.Text property to a business property in order to control its value. If the text will display the value of the SelectionStart/SelectionEnd properties, then you can bind those properties to the same business property as well.

    I attached a sample solution to better illustrate this suggestion. Give it a try and let me know if it helps.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top