I create this window-shaped image column:
How can I create these columns in WPF and click on them?
thank
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.
DataGridTemplateColumn
CellTemplate
Button
Content
Image
Template
ContentPresenter