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

Label and Ellipsis

4 Answers 448 Views
Label
This is a migrated thread and some comments may be shown as answers.
Deborah
Top achievements
Rank 1
Deborah asked on 15 Apr 2011, 05:26 PM
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?

4 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 20 Apr 2011, 08:53 PM
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
0
Deborah
Top achievements
Rank 1
answered on 22 Apr 2011, 04:01 PM
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.
0
Peter
Telerik team
answered on 28 Apr 2011, 08:01 AM
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
0
Deborah
Top achievements
Rank 1
answered on 28 Apr 2011, 04:13 PM
Thanks for the additional info.
Tags
Label
Asked by
Deborah
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Deborah
Top achievements
Rank 1
Peter
Telerik team
Share this question
or