If you only want to make the background of a selected item transparent, then it would be best to edit the ControlTemplate
of the RadOutlookBarItem
. I am not sure why you experienced an exception, but if you can give us more details about your scenario, the definition of the RadOutlookBar
and the RadControls
version you use, we will further investigate the causes for the exception.
In the meantime I attached a sample solution where I edited the default RadOutlookBarItem ControlTemplate
to set a BorderThickness
of 0 to the selected visual state elements as well as change the ControlItem_Background_Selected
brush to Transparent
. Please have a look at the solution and let me know if it helps.
All the best,
the Telerik team
Sharpen your .NET Ninja skills
! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>