wrap text in label

2 posts, 1 answers
  1. ALA
    ALA avatar
    1 posts
    Member since:
    Dec 2016

    Posted 27 Jun Link to this post

    How can I enable wrap text in telerik label?
  2. Answer
    Dimitar Dinev
    Dimitar Dinev avatar
    64 posts

    Posted 27 Jun Link to this post

    Hi Farahad,

    The Label control doesn't support text wrapping directly. You can place a TextBox inside a Label like this:
    <telerik:Label MaxWidth="100">
               <TextBlock TextWrapping="Wrap" Text="Looooooooong Text................."/>
    Or you can use this approach:
    <telerik:Label MaxWidth="100">
              <TextBlock TextWrapping="Wrap" Text="Looooooooong Text................."/>
    Please, let me know if that answers your question.

    Dimitar Dinev
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top