Label and Ellipsis

5 posts, 0 answers
  1. Deborah
    Deborah avatar
    154 posts
    Member since:
    Sep 2010

    Posted 15 Apr 2011 Link to this post

    We are changing all of our standard WinForms labels to RadLabels. This has been working fine until today when we ran into a label that used the AutoEllipsis property.

    Does the RadLabel have something similar to the WinForms AutoEllipsis on a label?

    If not, is there a work around?
  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 20 Apr 2011 Link to this post

    Hi Deborah,

    Thank you for the question.

    In order to use the AutoEllipsis functionality of RadLabel, you should set the following properties:
    this.radLabel1.AutoSize = false;
    this.radLabel1.TextWrap = false;

    I hope this helps.

    Kind regards,
    Nikolay
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Deborah
    Deborah avatar
    154 posts
    Member since:
    Sep 2010

    Posted 22 Apr 2011 Link to this post

    OK. We will have to leave this as a WinForm Label then.

    I am displaying a remark that might be very long. We have space for four lines in the label and want the field to wrap. We only want the ellipsis if the field does not fit into the four lines.

    The WinForm TextBox does not require turning off text wrap to get the ellipsis. So we can display the remark on multiple lines. Only if the remark does not fit on those multiple lines do we get an ellipsis.

    Thanks for your help.
  5. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 28 Apr 2011 Link to this post

    Hello Deborah,

    Thank you for your feedback.

    Generally, we are trying to follow the behavior of Microsoft Label, but indeed there are some differences between our TextDrawing and MS TextDrawing. If more customers request the functionality that you have requested, we may consider introducing it in one of our next releases.

    All the best,

    Peter
    the Telerik team

     

    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 Public Issue Tracking system and vote to affect the priority of the items
  6. Deborah
    Deborah avatar
    154 posts
    Member since:
    Sep 2010

    Posted 28 Apr 2011 Link to this post

    Thanks for the additional info.
Back to Top
UI for WinForms is Visual Studio 2017 Ready