RadButtonElement Missing Solid Border

2 posts, 1 answers
  1. Craig
    Craig avatar
    7 posts
    Member since:
    Jun 2018

    Posted 01 Jul 2018 Link to this post

    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. 
  2. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3465 posts

    Posted 02 Jul 2018 Link to this post

    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.
Back to Top