下面是圖像上的TextBox(滾動)示例。它應該與RichTextBox一起使用。
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.Background>
<ImageBrush ImageSource="{StaticResource yourImage}" Opacity=".3">
<ImageBrush.RelativeTransform>
<ScaleTransform ScaleX=".5" ScaleY=".5" CenterX=".5" CenterY=".5"/>
</ImageBrush.RelativeTransform>
</ImageBrush>
</Grid.Background>
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
<TextBlock x:Name="YourTextBox" Grid.Row="1" Background="Transparent" Margin="3,6,3,0" Text="{Binding YourMessage}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" TextWrapping="Wrap"/>
</ScrollViewer>
</Grid>
找到相似的主題無論如何。 http://stackoverflow.com/questions/5450985/how-to-make-overlay-control-above-all-other-controls – vish213