Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.

Cheers,
Kirupa

Results 1 to 7 of 7

Thread: access text box in style in xaml

  1. #1

    access text box in style in xaml

    Hi,

    Does anyone know how to bind text box with slider.

    The text box should display 1-100 as text when the slider moves.

    The text box is in a style that i have made.

    Gaurav

  2. #2
    Take a look at this post where I do just that: http://blog.kirupa.com/?p=123 You can ignore the part about value converters unless you are not interested in displaying the decimal points from the slider value

    Great, now even Kirupa is { facebooking | twittering }

  3. #3

    reply

    Thanks once again for the help.

    But i had one more question the binding for the text box does not work as the textbox
    is in a style.

    Will the binding code for the textbox change as the text box is itself in the Thumb style
    of the slider?

    Is there some other to drag the text box along the slider?

    Gaurav

  4. #4
    Also is there some link where they have explained binding controls present in styles?

  5. #5
    Also i have attached the source code

    SliderRoundedValue.zip
    Attached Files Attached Files

  6. #6
    Any update?

  7. #7
    Please anyone help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012