Change the Location of a TextBox

2 posts, 1 answers
  1. Jan
    Jan avatar
    11 posts
    Member since:
    Oct 2014

    Posted 09 Aug Link to this post

    Hello there. Ive been looking for solution to my problem for some time, yet, I am still not able to solve it. All I need to do is, to change the Y-coordinate of an item (in my case textbox) according to some rules (from data that I get). I can see the option "location" in bindings, but I dont know what to write as an expression. Also, I am not allowed to modify InitializeComponent() method. What should I do?

    Thanks :)

  2. Answer
    Katia
    Admin
    Katia avatar
    309 posts

    Posted 09 Aug Link to this post

    Hi Jan,

    You can specify the coordinates with a string, for example "0in, 0in"  where the first value is X location and the second value is Y location.

    You can also use Left and Top properties to change the position of the TextBox with bindings.


    Regards,
    Katia
    Telerik by Progress
    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. DevCraft banner
Back to Top