Multiline Label in DataFormDataField

2 posts, 0 answers
  1. Sayle
    Sayle avatar
    13 posts
    Member since:
    Apr 2012

    Posted 18 Jun 2014 Link to this post

    I have some properties that use a DataFormDataField (will be a text field with a label) and the label will be very long so it needs to wrap to a new line.

    So far I have been unable to do. Tried to build a template for the label on it, but cannot find the element needed to set this value.

    What is the correct way to do this?
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 23 Jun 2014 Link to this post

    Hi,

    You will need to edit the template the DataFormDataField, specifically the "PART_Label", and alter it accordingly to meet your requirements. You can check the Styling DataFormDataField article as a reference.
    I can also suggest you to use NoXaml binaries and Implicit Styles as explain in our online documentation

    Regards,
    Didie
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top