Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Window > How do I change transparancy/opacity on just the header

Not answered How do I change transparancy/opacity on just the header

Feed from this thread
  • Kjell Master avatar

    Posted on Aug 3, 2010 (permalink)

    I have been asked to make the header of a RadWindow transparant but this should not affect the content, how can I do this?

    I am using VS2010/SL4/.Net4, Windows server 2003, 7014 build of telerik controls for SL.

    Reply

  • Dani Dani admin's avatar

    Posted on Aug 5, 2010 (permalink)

    Hello Kjell,

    You can use a DataTemplate as a RadWindow.HeaderTemplate and set a background in that DataTemplate. Please check this article on RadWindow Header.

    Let me know if you need further guidance, I will be glad to help.

    Regards,
    Dani
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Dani Dani admin's avatar

    Posted on Aug 5, 2010 (permalink)

    Hello Kjell,

    You can use a DataTemplate as a RadWindow.HeaderTemplate and set a background in that DataTemplate. Please check this article on RadWindow Header.

    Let me know if you need further guidance, I will be glad to help.

    Regards,
    Dani
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Kjell Master avatar

    Posted on Aug 5, 2010 (permalink)

    Which article?

    Reply

  • Kjell Master avatar

    Posted on Aug 5, 2010 (permalink)

    I'm getting closer, tried this:

     

     

     

    <telerik:RadWindow.HeaderTemplate>

     

     

     

     

    <DataTemplate>

     

     

     

     

    <Border Background="Green">

     

     

     

     

    <TextBlock Text="Select Email Folders" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>

     

     

     

     

    </Border>

     

     

     

     

    </DataTemplate>

     

     

     

     

    </telerik:RadWindow.HeaderTemplate>

     



    I am using green just so I can see it easier in the designer, but it only covers there the text is, not the entire header width or the window border.

    Reply

  • Kjell Master avatar

    Posted on Aug 5, 2010 (permalink)

    Ok got another step closer by setting borderbrush and borderbackground, still need to figure out how to get my background across the entire header.

    Reply

  • Kjell Master avatar

    Posted on Aug 5, 2010 (permalink)

    I tried going another route and editing the template in Blend (which I was trying to avoid), but even there the transparancy settings only seem to work if I set the opacity for the entire control. 

    Reply

  • Kjell Master avatar

    Posted on Aug 5, 2010 (permalink)

    Ok this might be a hack but for now I'm just hardcoding the theme to "Transparant", this does what I need.

    Reply

  • Dani Dani admin's avatar

    Posted on Aug 6, 2010 (permalink)

    Hi Kjell,

    I'm glad to hear you found a way to accomplish what you need. I am sorry for the missed hyperlink. I was referring to this article.

    Regards,
    Dani
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Window > How do I change transparancy/opacity on just the header
Related resources for "How do I change transparancy/opacity on just the header"

Silverlight Window Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]