<UserControl x:Class="TetranTranslationStudio.MyRichTextBox" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="162.711" Width="559.944" AllowDrop="False"> <RichTextBox x:Name ="TargetBox" AcceptsReturn="False" SpellCheck.IsEnabled="True" Height="Auto" Width="Auto" VerticalScrollBarVisibility="Auto" IsDocumentEnabled="True" FontSize="14" FontFamily="Arial" AllowDrop="True"> <FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ColumnWidth="400" FontSize="14" FontFamily="Arial" AllowDrop="True"> <Paragraph>This is a sample string which contains <TextBlock>TextBlocks</TextBlock> that disappear when drags to a different location within the control </Paragraph> </FlowDocument> </RichTextBox> </UserControl>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)