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

RadLabel and angle

4 Answers 204 Views
Label
This is a migrated thread and some comments may be shown as answers.
OD
Top achievements
Rank 1
OD asked on 12 Oct 2011, 04:04 PM
Hey,
Is it possible to display a radlabel with a 45° angle ?
thanks

4 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Petrov
Telerik team
answered on 13 Oct 2011, 04:05 PM
Hello Nermond,

Thank you for writing.

You can display a RadLabel under a 45° angle by setting an AngleTransform. You have to use the RadLabel smart-tag and select Edit UI Elements and set the property of the top most element. Refer to the attached image to get a visual idea where the property is. Then you have to set a MinimumSize of the label so the whole text can be displayed within the control bounds. And finally you should set the TextAlignment property so the text would be displayed properly when you run the application.

I hope this will help. If you need further assistance, I would be glad to provide it.

Best wishes,
Ivan Petrov
the Telerik team

Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

0
OD
Top achievements
Rank 1
answered on 14 Oct 2011, 07:23 AM
thanks :)
0
Tamil
Top achievements
Rank 1
answered on 02 Jul 2020, 10:45 AM

Hello, Ivan Petrov,

Same as RadLabel, how can i set 45 and 90 angle on application runtime using the c# code?

0
Nadya | Tech Support Engineer
Telerik team
answered on 03 Jul 2020, 03:06 PM

Hello, Tamil,

In order to rotate the RadLabel at run time, you can use LabelElemet.AngleTransform property:

this.radLabel1.LabelElement.AngleTransform = 90;

I hope this helps. Should you have further questions I will be glad to help.

Regards,
Nadya
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Label
Asked by
OD
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
OD
Top achievements
Rank 1
Tamil
Top achievements
Rank 1
Nadya | Tech Support Engineer
Telerik team
Share this question
or