Image Column in WPF DataGrid

I create this window-shaped image column: enter image description here

How can I create these columns in WPF and click on them?

thank

+3
source share
1 answer

You can use for this DataGridTemplateColumn. Create CellTemplate, which contains Buttonwhose Contentis Image, you can style the button "invisible", changing it Templateto a simple one ContentPresenter.

+3
source

All Articles