This is a migrated thread and some comments may be shown as answers.

Change the Location of a TextBox

1 Answer 700 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 09 Aug 2016, 10:22 AM

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 :)

1 Answer, 1 is accepted

Sort by
1
Accepted
Katia
Telerik team
answered on 09 Aug 2016, 03:21 PM
Hi Jan,

You can specify the coordinates with a string, for  "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
Tags
General Discussions
Asked by
Jan
Top achievements
Rank 1
Answers by
Katia
Telerik team
Share this question
or