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

RadDropDownButtonElement Borders

1 Answer 129 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 23 Sep 2018, 12:08 PM

I'm usingTelerik.WindControls.UI.RadDropDownButtonElement control for Winforms. When the control renders in a RadRibbonBar I would like to see the button borders appear. What code can have the borders appear when the page is opened by the user because the default is they don't display?

 

Thank you,

Craig...

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 24 Sep 2018, 11:43 AM
Hello, Craig,  
 
In order to show the border around RadDropDownButton inside a RadRibbonBar, you can use the following code snippet: 
this.radDropDownButtonElement1.BorderElement.Visibility = Telerik.WinControls.ElementVisibility.Visible;
BorderPrimitive border = this.radDropDownButtonElement1.BorderElement as BorderPrimitive;
border.ForeColor = Color.Blue;



I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Craig
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or