프로젝트

일반

사용자정보

개정판 d3dc9637

IDd3dc9637e96ef4278eb7cc43d71e30a71b664fa1
상위 64f6713a
하위 c91f45f3, 702abd98

humkyung 이(가) 6년 이상 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)