I'm trying override default DataGridTextBoxColumn ErrorTemplate. I can do this if I manually set DataGridTextBoxColumn but I must using autogeneratecolumns, then I can't style this... Any ideas?
Datagrid default cell ErrorTemplate
Thanks..
I'm trying override default DataGridTextBoxColumn ErrorTemplate. I can do this if I manually set DataGridTextBoxColumn but I must using autogeneratecolumns, then I can't style this... Any ideas?
Datagrid default cell ErrorTemplate
Thanks..
Copyright © 2021 Jogjafile Inc.
What you get when you're editing a cell in a datagridtextboxcolumn is a TextBox.
I don't have something set up I can test this with, but it won't really fit in a comment.
I would think if you just apply a style to textbox then that will work.
Put a style in the Datagrid.resources:
And, of course, whatever template you want to use in there.