The example given for section four (Customizable templates and styling for cells, rows and headers) is not valid. The instructions say to provide a ContentTemplate for DatagridRowHeader, but then the example goes on to show how to set the Template. I believe the instructions are correct and the example is not. Furthermore, the ControlTemplate in the example does include a ContentPresent which I believe will most likely result in unintended behavior.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: 30c8bdc3-08a5-6c3d-a652-429098db76ba
Version Independent ID: 877092f0-922e-b2bc-2b65-62781bdf6efc
The example given for section four (Customizable templates and styling for cells, rows and headers) is not valid. The instructions say to provide a ContentTemplate for DatagridRowHeader, but then the example goes on to show how to set the Template. I believe the instructions are correct and the example is not. Furthermore, the ControlTemplate in the example does include a ContentPresent which I believe will most likely result in unintended behavior.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.