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
20
Showing Grid in Expander control
posted

I am displaying grid in Expander control in XAML page,

 But If I give static size to expander then it shows grid, but I want to make expander resizeable.

If make auto size then in expander only title of column header of grid is displayed and if I collapsed once and then expand againg, grid disappers.

  • 138253
    Offline posted

    Hello,

     

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking through your post, but I wasn’t able to reproduce your behavior, so I created a sample project for you with an Expander and XamDataGrid in it and you can resize the Window and everything works as it should on my side. If this is still an issue feel free to modify my sample and send it back to me for further investigation.

     

    Feel free to write me if you have further questions.

    XamDataGridInExpander.zip