C#C
C#3y ago
5 replies
Tomas

✅ RichTextBox - Cannot type text

Hello I creating WPF Application with rich text box and when I put him there from toolbox the input is disabled and the copy/paste/delete options is too disabled.

    <RichTextBox x:Name="script" Margin="10,10,10,60" IsManipulationEnabled="True" IsEnabled="True">
        <FlowDocument>
            <Paragraph FontStyle="Italic" TextAlignment="Left" FontSize="14" Foreground="Gray">Thanks to the RichTextBox control, this FlowDocument is completely editable!</Paragraph>
        </FlowDocument>
    </RichTextBox>


Anyone know what to do? I tried everything.
image.png
image.png
Was this page helpful?