RadDropDownButtonElement Borders

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

    Posted 23 Sep 2018 Link to this post

    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...

     

  2. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    4086 posts

    Posted 24 Sep 2018 Link to this post

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