Relative Content

Tag Archive for wpfdatagrid

DataGrid AutoGeneratingColumn event not fired for DataTemplateSelector?

in my WPF there is a DataGrid which columns are auto-generated. The data is loaded from extern, so the column names are known at runtime. For certain columns, i display a button inside the column. Only when clicked onto the button, i load other data and display it inside the RowDetails of the outer DataGrid. Then, the inner DataGrid is loaded again – maybe with other buttons. This is repeated for ever.

How to Enable Scrolling Beyond the Last Row in WPF DataGrid?

I am working on a WPF application and using a DataGrid to display data. I would like to enable scrolling beyond the last row of the DataGrid, similar to the “Scroll Beyond Last Line” feature in VSCode. This would allow users to scroll past the last row and have some empty space at the bottom of the DataGrid.