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.
Wrong forum? This belongs in WPF, not WinForms.
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.