Is there an example of setting the SpellCheckingWindowsStyle for the RadSpellChecker? Im using example in another thread of spell checking multiple text boxes.. My code is as follows - Im just not sure how to style the spell checker and what properties are available. Can I have an example?
public
partial
class
MainPage : UserControl
{
public
MainPage()
{
InitializeComponent();
RadSpellChecker.SpellCheckingCompleted += spellCheckingCompleted;
textBoxes =
new
List<TextBox>();
textBoxes.Add(
this
.textBox1);
textBoxes.Add(
this
.textBox2);
textBoxes.Add(
this
.textBox3);
}
int
i;
List<TextBox> textBoxes;
private
void
button1_Click(
object
sender, RoutedEventArgs e)
{
RadSpellChecker.WindowSettings.ShowAlertWhenSpellCheckingCompleted =
false
;
RadSpellChecker.Check(
this
.textBox1, SpellCheckingMode.AllAtOnce);
}
private
void
spellCheckingCompleted(
object
sender, SpellCheckingCompletedEventArgs args)
{
if
(i == 2)
{
i = 0;
return
;
}
i++;
RadSpellChecker.Check(
this
.textBoxes[i], SpellCheckingMode.AllAtOnce);
}
}