This article has move here: WPF RichTextBox Control Tutorial
The following code snippet creates RichTextBox in XAML.
- <RichTextBox></RichTextBox>
- <RichTextBox Margin="10,10,0,13" Name="RichTextBox1" HorizontalAlignment="Left"
- VerticalAlignment="Top" Width="500" Height="300" />
- <RichTextBox Margin="10,10,0,13" Name="RichTextBox1" HorizontalAlignment="Left"
- VerticalAlignment="Top" Width="500" Height="300">
- <FlowDocument>
- <Paragraph>
- I am a flow document. Would you like to edit me?
- <Bold>Go ahead.</Bold>
- </Paragraph>
- <Paragraph Foreground="Blue">
- I am blue I am blue I am blue.
- </Paragraph>
- </FlowDocument>
- </RichTextBox>
- SpellCheck.IsEnabled="True"
- mcRTB.SpellCheck.IsEnabled = true;

Vithal WadjePosted Jan 1, 2015, 4:04 AM
good explanation thanks for sharing