Control's width

2 posts, 0 answers
  1. Anthony
    Anthony avatar
    3 posts
    Member since:
    Sep 2011

    Posted 28 Dec 2015 Link to this post

    I use auto generate property and find  it to an object with a string property....

    (in edit mode) if i type a super long text into the textbox, the width of the textbox would keep increasing so the whole text is always visible

    How can i change that behavior to have width of the textbox fixed?

     

    Please see attached

  2. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    370 posts

    Posted 30 Dec 2015 Link to this post

    Hello Anthony,

    You will have to either give the TextBox a fixed Width or set its MaxWidth to an appropriate value.

    I've attached a sample project to show you how this can be done. Please let me know if it helps.

    Regards,
    Dilyan Traykov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top