Quick online spell checker with WPF


You can use the spell-checking functionality provided by the RichTextBox to quickly correct those pesky typos! Just navigate to something like the following, and you’re done.


<DockPanel xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” Margin=’8px’>
 <TextBlock DockPanel.Dock=’Top’ HorizontalAlignment=’Center’
  FontSize=’14pt’ FontWeight=’Bold’>Windows Presentation Foundation Spell Checker</TextBlock>
<RichTextBox SpellCheck.IsEnabled=’True’>
<FlowDocument>
 <Paragraph
  Foreground=’#17365D’
  Background=’White’
  FontSize=’12pt’
  FontFamily=’Cambria’>Enter your text here to have it spell-checked. Like soo.</Paragraph>
</FlowDocument>
</RichTextBox>
</DockPanel>


Also available as an attachment right here.


 


This posting is provided “AS IS” with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm.

xaml.xaml

Comments (0)

Skip to main content