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

RadButtonElement Missing Solid Border

1 Answer 89 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 01 Jul 2018, 10:58 AM
When adding a RadButtonElement into a RadRibbonBar the button text appears. How can I have the button appear with a solid border at run-time. I do see when the mouse is over the button it does highlight the area correctly with the default color, but I want to have the users actually see the button border when the page loads. 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 02 Jul 2018, 11:54 AM
Hello, Craig,    

In order to enable the border for a RadButtonElement hosted in a RadRibbonBar, you can use the following code snippet: 
public RadForm1()
{
    InitializeComponent();
 
    this.radButtonElement1.ShowBorder = true;
    this.radButtonElement1.BorderElement.ForeColor = Color.Red;
}




I hope this information helps. If you have any additional questions, please let me know. 
 
Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
RibbonBar
Asked by
Craig
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or