개정판 d3dc9637
fixed issue #544: Search Page에 헤더 추가
KCOM/Controls/SearchPanel.xaml | ||
---|---|---|
35 | 35 |
<!--<CheckBox Content="Match whole word" Margin="5"/>--> |
36 | 36 |
</GroupBox> |
37 | 37 |
|
38 |
|
|
39 | 38 |
<!--<TextBlock Text="Search word or phase in the current document, and list the result" Margin="20,20" TextWrapping="WrapWithOverflow" Foreground="#FF7C7C7C" FontSize="12"/>--> |
40 | 39 |
</StackPanel> |
41 |
<ListBox x:Name="lstSearchWord" Grid.Row="1" BorderThickness="1" ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
|
40 |
<ListBox x:Name="lstSearchWord" Grid.Row="1" BorderThickness="1" Margin="0,10" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
|
42 | 41 |
ItemsSource="{Binding SearchSet}" SelectionChanged="lstSearchWord_SelectionChanged"> |
42 |
<ListBox.Template> |
|
43 |
<ControlTemplate> |
|
44 |
<DockPanel LastChildFill="True"> |
|
45 |
<Grid DockPanel.Dock="Top" Height="30"> |
|
46 |
<Grid.ColumnDefinitions> |
|
47 |
<ColumnDefinition Width="100"></ColumnDefinition> |
|
48 |
<ColumnDefinition Width="*"></ColumnDefinition> |
|
49 |
</Grid.ColumnDefinitions> |
|
50 |
<Label Grid.Column="0" BorderBrush="#FF0B4FC5" BorderThickness="2">Page No</Label> |
|
51 |
<Label Grid.Column="1" BorderBrush="#FF0B4FC5" BorderThickness="2">Position</Label> |
|
52 |
</Grid> |
|
53 |
<ItemsPresenter></ItemsPresenter> |
|
54 |
</DockPanel> |
|
55 |
</ControlTemplate> |
|
56 |
</ListBox.Template> |
|
43 | 57 |
<ListBox.ItemTemplate> |
44 | 58 |
<DataTemplate> |
45 | 59 |
<StackPanel Orientation="Horizontal"> |
... | ... | |
55 | 69 |
</StackPanel> |
56 | 70 |
</DataTemplate> |
57 | 71 |
</ListBox.ItemTemplate> |
58 |
<!--<ListBox.ItemTemplate> |
|
59 |
<DataTemplate> |
|
60 |
<Grid Width="{Binding Width, ElementName=lstSearchWord}"> |
|
61 |
--><!--<StackPanel> |
|
62 |
<TextBlock Text="Page : 1" Foreground="{DynamicResource KCOMColor_MarkerBrush}" FontWeight="DemiBold"/> |
|
63 |
<TextBlock Text="Weiss Ratings" |
|
64 |
TextWrapping="Wrap" Margin="0,2"/> |
|
65 |
--> |
|
66 |
<!--<TextBlock Text="{Binding}"/>--> |
|
67 |
<!-- |
|
68 |
</StackPanel>--><!-- |
|
69 |
</Grid> |
|
70 |
</DataTemplate> |
|
71 |
</ListBox.ItemTemplate>--> |
|
72 | 72 |
</ListBox> |
73 | 73 |
|
74 | 74 |
<Border Background="Black" Grid.RowSpan="2" Opacity="0.7" Margin="-10" x:Name="border_Overlap"> |
내보내기 Unified diff