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

Automatic word wrap of labels

1 Answer 95 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Walter
Top achievements
Rank 1
Walter asked on 28 Jul 2011, 11:04 AM
Hello,

please find enclosed a screenshot showing a data form with an extra long label text.
 
The width of the data field is automatically reduced and the label width is extended.
But I would like to have a maximum label width and an automatic word wrap if the the maximum label width is exceeded.
What is the recommened way to achieve this.

Thanks for your assistance
Daniel Koffler

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 29 Jul 2011, 02:56 PM
Hi Daniel Koffler,

I have prepared an example project for you that illustrates how to accomplish this task. The TextBlock that represents DataFormField's label is named PART_Label.

Best wishes,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
Tags
DataForm
Asked by
Walter
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or