프로젝트

일반

사용자정보

개정판 c8dd192f

IDc8dd192f9166d6ebc17a64f1ec2636fb930dd44a
상위 ffa5dbc7
하위 c7bf556e

김태성이(가) 약 4년 전에 추가함

docking Resizer의 key event 제거

Change-Id: I95caac9ab749d0b69d435ca13b535141bd0415e4

차이점 보기:

KCOM/Views/MainMenu.xaml
60 60
        <converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" />
61 61
        <converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" />
62 62
        <converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter"/>
63
        <ControlTemplate x:Key="RadSplitContainerControlTemplate" TargetType="{x:Type telerik:RadSplitContainer}">
64
            <Grid>
65
                <VisualStateManager.VisualStateGroups>
66
                    <VisualStateGroup x:Name="ResizerStates">
67
                        <VisualState x:Name="ResizerLeft">
68
                            <Storyboard>
69
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer">
70
                                    <DiscreteObjectKeyFrame KeyTime="0">
71
                                        <DiscreteObjectKeyFrame.Value>
72
                                            <Visibility>Visible</Visibility>
73
                                        </DiscreteObjectKeyFrame.Value>
74
                                    </DiscreteObjectKeyFrame>
75
                                </ObjectAnimationUsingKeyFrames>
76
                                <DoubleAnimation BeginTime="0" From="4" To="4" Storyboard.TargetProperty="MinWidth" Storyboard.TargetName="DockResizer"/>
77
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="border">
78
                                    <DiscreteObjectKeyFrame KeyTime="0">
79
                                        <DiscreteObjectKeyFrame.Value>
80
                                            <Thickness>4,0,0,0</Thickness>
81
                                        </DiscreteObjectKeyFrame.Value>
82
                                    </DiscreteObjectKeyFrame>
83
                                </ObjectAnimationUsingKeyFrames>
84
                            </Storyboard>
85
                        </VisualState>
86
                        <VisualState x:Name="ResizerTop">
87
                            <Storyboard>
88
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer">
89
                                    <DiscreteObjectKeyFrame KeyTime="0">
90
                                        <DiscreteObjectKeyFrame.Value>
91
                                            <Visibility>Visible</Visibility>
92
                                        </DiscreteObjectKeyFrame.Value>
93
                                    </DiscreteObjectKeyFrame>
94
                                </ObjectAnimationUsingKeyFrames>
95
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="DockResizer">
96
                                    <DiscreteObjectKeyFrame KeyTime="0">
97
                                        <DiscreteObjectKeyFrame.Value>
98
                                            <VerticalAlignment>Top</VerticalAlignment>
99
                                        </DiscreteObjectKeyFrame.Value>
100
                                    </DiscreteObjectKeyFrame>
101
                                </ObjectAnimationUsingKeyFrames>
102
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="DockResizer">
103
                                    <DiscreteObjectKeyFrame KeyTime="0">
104
                                        <DiscreteObjectKeyFrame.Value>
105
                                            <HorizontalAlignment>Stretch</HorizontalAlignment>
106
                                        </DiscreteObjectKeyFrame.Value>
107
                                    </DiscreteObjectKeyFrame>
108
                                </ObjectAnimationUsingKeyFrames>
109
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Placement" Storyboard.TargetName="DockResizer">
110
                                    <DiscreteObjectKeyFrame KeyTime="0">
111
                                        <DiscreteObjectKeyFrame.Value>
112
                                            <Dock>Top</Dock>
113
                                        </DiscreteObjectKeyFrame.Value>
114
                                    </DiscreteObjectKeyFrame>
115
                                </ObjectAnimationUsingKeyFrames>
116
                                <DoubleAnimation BeginTime="0" From="4" To="4" Storyboard.TargetProperty="MinHeight" Storyboard.TargetName="DockResizer"/>
117
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="border">
118
                                    <DiscreteObjectKeyFrame KeyTime="0">
119
                                        <DiscreteObjectKeyFrame.Value>
120
                                            <Thickness>0,4,0,0</Thickness>
121
                                        </DiscreteObjectKeyFrame.Value>
122
                                    </DiscreteObjectKeyFrame>
123
                                </ObjectAnimationUsingKeyFrames>
124
                            </Storyboard>
125
                        </VisualState>
126
                        <VisualState x:Name="ResizerRight">
127
                            <Storyboard>
128
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer">
129
                                    <DiscreteObjectKeyFrame KeyTime="0">
130
                                        <DiscreteObjectKeyFrame.Value>
131
                                            <Visibility>Visible</Visibility>
132
                                        </DiscreteObjectKeyFrame.Value>
133
                                    </DiscreteObjectKeyFrame>
134
                                </ObjectAnimationUsingKeyFrames>
135
                                <DoubleAnimation BeginTime="0" From="4" To="4" Storyboard.TargetProperty="MinWidth" Storyboard.TargetName="DockResizer"/>
136
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="border">
137
                                    <DiscreteObjectKeyFrame KeyTime="0">
138
                                        <DiscreteObjectKeyFrame.Value>
139
                                            <Thickness>0,0,4,0</Thickness>
140
                                        </DiscreteObjectKeyFrame.Value>
141
                                    </DiscreteObjectKeyFrame>
142
                                </ObjectAnimationUsingKeyFrames>
143
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="DockResizer">
144
                                    <DiscreteObjectKeyFrame KeyTime="0">
145
                                        <DiscreteObjectKeyFrame.Value>
146
                                            <HorizontalAlignment>Right</HorizontalAlignment>
147
                                        </DiscreteObjectKeyFrame.Value>
148
                                    </DiscreteObjectKeyFrame>
149
                                </ObjectAnimationUsingKeyFrames>
150
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Placement" Storyboard.TargetName="DockResizer">
151
                                    <DiscreteObjectKeyFrame KeyTime="0">
152
                                        <DiscreteObjectKeyFrame.Value>
153
                                            <Dock>Right</Dock>
154
                                        </DiscreteObjectKeyFrame.Value>
155
                                    </DiscreteObjectKeyFrame>
156
                                </ObjectAnimationUsingKeyFrames>
157
                            </Storyboard>
158
                        </VisualState>
159
                        <VisualState x:Name="ResizerBottom">
160
                            <Storyboard>
161
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer">
162
                                    <DiscreteObjectKeyFrame KeyTime="0">
163
                                        <DiscreteObjectKeyFrame.Value>
164
                                            <Visibility>Visible</Visibility>
165
                                        </DiscreteObjectKeyFrame.Value>
166
                                    </DiscreteObjectKeyFrame>
167
                                </ObjectAnimationUsingKeyFrames>
168
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="DockResizer">
169
                                    <DiscreteObjectKeyFrame KeyTime="0">
170
                                        <DiscreteObjectKeyFrame.Value>
171
                                            <VerticalAlignment>Bottom</VerticalAlignment>
172
                                        </DiscreteObjectKeyFrame.Value>
173
                                    </DiscreteObjectKeyFrame>
174
                                </ObjectAnimationUsingKeyFrames>
175
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="DockResizer">
176
                                    <DiscreteObjectKeyFrame KeyTime="0">
177
                                        <DiscreteObjectKeyFrame.Value>
178
                                            <HorizontalAlignment>Stretch</HorizontalAlignment>
179
                                        </DiscreteObjectKeyFrame.Value>
180
                                    </DiscreteObjectKeyFrame>
181
                                </ObjectAnimationUsingKeyFrames>
182
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Placement" Storyboard.TargetName="DockResizer">
183
                                    <DiscreteObjectKeyFrame KeyTime="0">
184
                                        <DiscreteObjectKeyFrame.Value>
185
                                            <Dock>Bottom</Dock>
186
                                        </DiscreteObjectKeyFrame.Value>
187
                                    </DiscreteObjectKeyFrame>
188
                                </ObjectAnimationUsingKeyFrames>
189
                                <DoubleAnimation BeginTime="0" From="4" To="4" Storyboard.TargetProperty="MinHeight" Storyboard.TargetName="DockResizer"/>
190
                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="border">
191
                                    <DiscreteObjectKeyFrame KeyTime="0">
192
                                        <DiscreteObjectKeyFrame.Value>
193
                                            <Thickness>0,0,0,4</Thickness>
194
                                        </DiscreteObjectKeyFrame.Value>
195
                                    </DiscreteObjectKeyFrame>
196
                                </ObjectAnimationUsingKeyFrames>
197
                            </Storyboard>
198
                        </VisualState>
199
                        <VisualState x:Name="HideResizer"/>
200
                    </VisualStateGroup>
201
                </VisualStateManager.VisualStateGroups>
202
                <Border x:Name="border" KeyDown="Border_KeyDown" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}">
203
                    <ItemsPresenter/>
204
                </Border>
205
                <telerik:RadGridResizer Focusable="False" x:Name="DockResizer" Cursor="SizeWE"  HorizontalAlignment="Left" Placement="Left" ShowsPreview="True" Visibility="Collapsed" VerticalAlignment="Stretch">
206
                </telerik:RadGridResizer>
207
            </Grid>
208
        </ControlTemplate>
63 209
    </UserControl.Resources>
64 210
    <Grid Background="{DynamicResource KCOMColor_MainBrush}">
65 211
        <!--<Grid.ColumnDefinitions>
......
95 241
        </Border>-->
96 242
        <telerik:RadDocking BorderThickness="0" Padding="0" Background="{DynamicResource KCOMColor_MainBrush}" Grid.Column="1">
97 243
            <telerik:RadDocking.DocumentHost>
98
                <telerik:RadSplitContainer Background="Transparent" Margin="0,-1,0,0">
244
                <telerik:RadSplitContainer x:Name="splitContainerMain" Background="Transparent" Margin="0,-1,0,0"  Template="{DynamicResource RadSplitContainerControlTemplate}">
99 245
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}">
100 246
                        <telerik:RadDocumentPane x:Name="MainDocumentPanel" Header="VP-320A-728063" CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" Margin="0,-20,0,0">
101 247
                            <telerik:RadDocumentPane.HeaderTemplate>
......
511 657
                    </telerik:RadPaneGroup>
512 658
                </telerik:RadSplitContainer>
513 659
            </telerik:RadDocking.DocumentHost>
514

  
515

  
516
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" x:Name="thumbnailPanel" SizeChanged="thumbnailPanel_SizeChanged">
660
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" x:Name="thumbnailPanel" SizeChanged="thumbnailPanel_SizeChanged" Template="{DynamicResource RadSplitContainerControlTemplate}">
517 661
                <!-- Width="250" MinWidth="250" -->
518 662
                <!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
519 663
                <telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi">
......
814 958
                                        </DataTemplate>
815 959
                                    </telerik:GridViewDataColumn.CellTemplate>
816 960
                                </telerik:GridViewDataColumn>
817
                                
961

  
818 962
                                <telerik:GridViewDataColumn Header="DELETE"  IsReadOnly="True" Width="Auto">
819 963
                                    <telerik:GridViewDataColumn.CellTemplate>
820 964
                                        <DataTemplate>

내보내기 Unified diff

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