Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
990
Spell checking in grid text box
posted

I want to have spell checking (the red underlines) enabled for textboxes in my XamDataGrid. I'm building the styles manually in C#, like this:

 Style ret = new Style(typeof(TextBox));

ret.Setters.Add(new Setter(TextBox.AcceptsReturnProperty, true));

newstyle.Resources.Add(typeof(TextBox), ret);

 Then applying that style to the Field.Settings.EditorStyle

But SpellCheck is an attached property, so how can I do it?

Thanks