The following screenshot shows the exported excel file with a checkbox, Take a moment to peruse the WPF DataGrid – Export to Excel documentation, where you can find about export to excel with code ...
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SfDataGridDemo_2013", "SfDataGridDemo_2013.csproj", "{93ED580D-C905-40B8-82D8-374B499C1B10}" ...