Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > OutlookBar > Header Selected Item Transparent

Not answered Header Selected Item Transparent

Feed from this thread
  • Tim avatar

    Posted on Feb 2, 2012 (permalink)

    Hello!

    I want to set the header of the selected item to transparent and remove all borders. Unfortunately I get "ViewModelId threw an exception", when I try to edit the template using Expression Blend. Is there a property for the background? Or can someone send me the default style?

    Thanks a lot,
    Tim.

    Reply

  • Tim avatar

    Posted on Feb 2, 2012 (permalink)

    I think I found the solution for the transparent background: Background="{x:Null}"

     

    Reply

  • Tim avatar

    Posted on Feb 2, 2012 (permalink)

    I thought wrong! :( Header still solid...

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Feb 7, 2012 (permalink)

    Hello Tim,

    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,
    Tina Stancheva
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > OutlookBar > Header Selected Item Transparent