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

Hi,

1 Answer 16 Views
This is a migrated thread and some comments may be shown as answers.
Nithya
Top achievements
Rank 1
Nithya asked on 05 Sep 2012, 06:37 AM
I am working in winforms telerik controls. I have created custom shape for radbutton in my form but, whenever am running the application, the custom shape is not coming. Only default shape is coming. how to work out this.

Note: I edited the button shape in smart tag -> edit UI elements ->radButton elements -> shape property ->new custom shape.


1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 06 Sep 2012, 12:50 PM
Hello Nithya,

Thank you for writing.

Currently, there is an issue which prevents the shape to be applied to the border of the button. Here you can add your vote for this issue and also subscribe for its status updates: http://www.telerik.com/support/pits.aspx#/public/winforms/12581.

For the time being, you can hide the button border and apply the desired shape to the button:
RoundRectShape shape = new RoundRectShape(15);
radButton1.ButtonElement.Shape = shape;
radButton1.ButtonElement.ShowBorder = false;

I hope this helps.
 
All the best,
Stefan
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Asked by
Nithya
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or