20 lines
853 B
XML
20 lines
853 B
XML
<UserControl x:Class="HandyControlDemo.UserControl.RichTextBoxDemoCtl"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"
|
|
Background="{DynamicResource RegionBrush}">
|
|
<RichTextBox Margin="32" Width="400" Height="300" ScrollViewer.VerticalScrollBarVisibility="Auto">
|
|
<FlowDocument>
|
|
<Paragraph>
|
|
<Run Name="RunTitle" FontSize="20"/>
|
|
</Paragraph>
|
|
<Paragraph>
|
|
<Run Name="RunText"/>
|
|
</Paragraph>
|
|
<Paragraph>
|
|
<Hyperlink>https://github.com/NaBian/HandyControl</Hyperlink>
|
|
</Paragraph>
|
|
</FlowDocument>
|
|
</RichTextBox>
|
|
</UserControl>
|