|
@@ -4,11 +4,12 @@
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
xmlns:local="clr-namespace:compdfkit_tools.PDFControlUI"
|
|
|
+ xmlns:convert="clr-namespace:compdfkit_tools.Common"
|
|
|
mc:Ignorable="d"
|
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
|
<UserControl.Resources>
|
|
|
<ResourceDictionary>
|
|
|
- <local:WidthConvert x:Key="WidthConvert"/>
|
|
|
+ <convert:ListViewWidthConvert x:Key="ListViewWidthConvert"/>
|
|
|
</ResourceDictionary>
|
|
|
</UserControl.Resources>
|
|
|
<Grid>
|
|
@@ -43,7 +44,7 @@
|
|
|
<StackPanel>
|
|
|
<RichTextBox Background="Transparent" Foreground="#000000" FontFamily="Segoe UI" FontSize="14" IsReadOnly="True" BorderThickness="0"
|
|
|
Padding="12,6,10,6" local:SearchResultBindHelper.DocumentBind="{Binding BindProperty}"
|
|
|
- Width="{Binding ElementName=ResultListControl,Path=ActualWidth,Converter={StaticResource WidthConvert}}"
|
|
|
+ Width="{Binding ElementName=ResultListControl,Path=ActualWidth,Converter={StaticResource ListViewWidthConvert}}"
|
|
|
VerticalContentAlignment="Center" VerticalAlignment="Center" IsHitTestVisible="False" >
|
|
|
</RichTextBox>
|
|
|
</StackPanel>
|