title: How do I place a border around a VariableSizedWrapGrid?
body: <p>This one is driving me crazy and I am sure there must be a straightforward answer (that I haven't been able to spot).</p>
  
  <p>I have a grouped gridview control which uses a VariableSizedWrapGrid for the grouped panel. The designs approved by my client include a top and bottom border on each group. I thought I could do one of two things:</p>
  
  <ol>
  <li>Specify the border on the VariableSizedWrapGrid; or</li>
  <li>Create a line in the GroupStyle.HeaderTemplate and apply the same to a footer.</li>
  </ol>
  
  <p>So it seems I can't do either of those things as VariableSizedWrapGrid inherits from Panel which doesn't support the border property (only adding the border as a child element) and the GridView class doesn't include a grouped footer property. Is there a way of applying a border to the VariableSizedWrapGrid? Xaml is quite new to me as I normally specialise in server side code rather than presentation.</p>