Automatic word wrap of labels

2 posts, 0 answers
  1. Walter
    Walter avatar
    22 posts
    Member since:
    Jun 2009

    Posted 28 Jul 2011 Link to this post


    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
  2. Ivan Ivanov
    Ivan Ivanov avatar
    1201 posts

    Posted 29 Jul 2011 Link to this post

    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 >>
Back to Top