Posted 28 June 2020, 1:06 pm EST
Hello guys,
I’m trying to add a C1Label to my form, but i can’t find any property to make the borders rounded.
Is it possible ?
Thanks a lot !
Forums Home / ComponentOne / WinForms Edition
Posted by: mx5 on 28 June 2020, 1:06 pm EST
Posted 28 June 2020, 1:06 pm EST
Hello guys,
I’m trying to add a C1Label to my form, but i can’t find any property to make the borders rounded.
Is it possible ?
Thanks a lot !
Posted 29 June 2020, 2:23 am EST
Hello,
Sorry but there is no direct way to achieve to make the borders rounded in C1Label.
I have attached a sample that implements the workaround to achieve the same by handling the Paint event.
Regards,
Prabhat Sharma.
RoundCornerLabels.zip
Posted 21 July 2020, 4:17 am EST
Thanks a lot but unfortunately i not see any rounded corner on this example. The angles of the label remains 90 degree.
Posted 22 July 2020, 7:42 am EST
Hello,
Sorry for inconvenience.
Please see the attached sample which shows how you can create the rounded-corner labels.
If you need any other help, please let me know.
Regards,
Prabhat Sharma.
RoundLabels.zip