Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

Change Group Border

$
0
0

Hello 

I would like to remove the top and bottom border of each ribbon group at run time for a cleaner look. Have tried this in the form constructor with no success. Any ideas?

Dim myRibbonBarTab As RibbonTab = CType(Me.RadRibbonBar1.CommandTabs(0), RibbonTab)

For Each group As RadRibbonBarGroup In myRibbonBarTab.Items
        group.GroupBorder.BoxStyle = BorderBoxStyle.FourBorders
        group.GroupBorder.TopWidth = 0
        group.GroupBorder.BottomWidth = 0
Next

 

Thanks for any tips that point me in the right direction.

Robert

 

 

 


Viewing all articles
Browse latest Browse all 99250


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>