Expander Header Decoration

3 posts, 0 answers
  1. Subrajit
    Subrajit avatar
    13 posts
    Member since:
    Jan 2012

    Posted 10 Feb 2012 Link to this post

    Hi,
      I am using a RADExpander control to load items dynamically. I am building the entire expander dynamically. The header contains a grid and other controls. The content has stackpanel and other controls. I want to style the expander header, but i am unable to so. Basically, I need to add a border to the expander and a background color to the header. The content needs to be transparent. Can something be provided so that I can use it to get my requirement.

    Thanx,
    Subrajit
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 15 Feb 2012 Link to this post

    Hi Subrajit,

     Have you tried using the BorderBrush and BorderThickness properties of RadExpander? Also, to set a background to the header you can set a background to the first panel/control you add in the header. If this does not help, could you please share with us more details/code on how you create the expander. This way we will be better able to assist you.

    All the best,
    Kiril Stanoev
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. Subrajit
    Subrajit avatar
    13 posts
    Member since:
    Jan 2012

    Posted 15 Feb 2012 Link to this post

    Hi Kiril,
      Thank you for your response. That is exactly what we did. We have set the background to the first control that is present in the header and we are able to get what we need.

    Thanx,
    Subrajit
Back to Top