Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
XamGrid with No Rows
posted

I have a SL4 xamGrid 10.3 that has it's ItemSource set to an EntitySet returned from a DB. The xamGrid lives inside a ScrollViewer.

In this particular case the ItemSource has 0 (zero) rows. When the HorizontalAlignment is set to Centered the xamGrid is displayed as a vertical line. If I set the HorizontalAlignment to Left all column headers are displayed, of course left justified with no rows.

I need to have it centered with the header rows showing. How can I do that?

 

thanks