markus / KCOM / Controls / Explorer.xaml @ 54a28343
이력 | 보기 | 이력해설 | 다운로드 (41.1 KB)
1 | 787a4489 | KangIngu | <UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="KCOM.Controls.Explorer" |
---|---|---|---|
2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||
3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||
4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
||
5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
||
6 | mc:Ignorable="d" |
||
7 | xmlns:local="clr-namespace:KCOM.Controls" |
||
8 | d:DesignHeight="500" d:DesignWidth="360"> |
||
9 | <UserControl.Resources>
|
||
10 | <ResourceDictionary>
|
||
11 | <Style TargetType="telerik:RadTabItem"> |
||
12 | <!--<Setter Property="HeaderForeground" Value="White"/>-->
|
||
13 | <Setter Property="FontSize" Value="12"/> |
||
14 | <Setter Property="Height" Value="30"/> |
||
15 | </Style>
|
||
16 | <!--<Style TargetType="{x:Type telerik:PaneHeader}">
|
||
17 | <Setter Property="Template">
|
||
18 | <Setter.Value>
|
||
19 | <ControlTemplate TargetType="{x:Type telerik:PaneHeader}">
|
||
20 | <Border x:Name="LayoutRoot" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
|
||
21 | <VisualStateManager.VisualStateGroups>
|
||
22 | <VisualStateGroup x:Name="CommandsMenuStates">
|
||
23 | <VisualState x:Name="CommandsMenuNormalState"/>
|
||
24 | <VisualState x:Name="CommandsMenuHiddenState">
|
||
25 | <Storyboard>
|
||
26 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HeaderDropDownMenu">
|
||
27 | <DiscreteObjectKeyFrame KeyTime="0">
|
||
28 | <DiscreteObjectKeyFrame.Value>
|
||
29 | <Visibility>Collapsed</Visibility>
|
||
30 | </DiscreteObjectKeyFrame.Value>
|
||
31 | </DiscreteObjectKeyFrame>
|
||
32 | </ObjectAnimationUsingKeyFrames>
|
||
33 | </Storyboard>
|
||
34 | </VisualState>
|
||
35 | </VisualStateGroup>
|
||
36 | <VisualStateGroup x:Name="PinnedStates">
|
||
37 | <VisualState x:Name="Unpinned">
|
||
38 | <Storyboard>
|
||
39 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HeaderUnPinButton">
|
||
40 | <DiscreteObjectKeyFrame KeyTime="0">
|
||
41 | <DiscreteObjectKeyFrame.Value>
|
||
42 | <Visibility>Visible</Visibility>
|
||
43 | </DiscreteObjectKeyFrame.Value>
|
||
44 | </DiscreteObjectKeyFrame>
|
||
45 | </ObjectAnimationUsingKeyFrames>
|
||
46 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HeaderPinButton">
|
||
47 | <DiscreteObjectKeyFrame KeyTime="0">
|
||
48 | <DiscreteObjectKeyFrame.Value>
|
||
49 | <Visibility>Collapsed</Visibility>
|
||
50 | </DiscreteObjectKeyFrame.Value>
|
||
51 | </DiscreteObjectKeyFrame>
|
||
52 | </ObjectAnimationUsingKeyFrames>
|
||
53 | </Storyboard>
|
||
54 | </VisualState>
|
||
55 | <VisualState x:Name="Pinned"/>
|
||
56 | </VisualStateGroup>
|
||
57 | <VisualStateGroup x:Name="HighlightStates">
|
||
58 | <VisualState x:Name="NotHighlighted"/>
|
||
59 | <VisualState x:Name="Highlighted">
|
||
60 | <Storyboard>
|
||
61 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="Content">
|
||
62 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.HeaderBrush}}"/>
|
||
63 | </ObjectAnimationUsingKeyFrames>
|
||
64 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="TitleElement">
|
||
65 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
66 | </ObjectAnimationUsingKeyFrames>
|
||
67 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="PanePatternTop">
|
||
68 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
69 | </ObjectAnimationUsingKeyFrames>
|
||
70 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="PanePatternCenter">
|
||
71 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
72 | </ObjectAnimationUsingKeyFrames>
|
||
73 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="PanePatternBottom">
|
||
74 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
75 | </ObjectAnimationUsingKeyFrames>
|
||
76 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="HeaderDropDownMenu">
|
||
77 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
78 | </ObjectAnimationUsingKeyFrames>
|
||
79 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="HeaderUnPinButton">
|
||
80 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
81 | </ObjectAnimationUsingKeyFrames>
|
||
82 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="HeaderPinButton">
|
||
83 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
84 | </ObjectAnimationUsingKeyFrames>
|
||
85 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="HeaderCloseButton">
|
||
86 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
87 | </ObjectAnimationUsingKeyFrames>
|
||
88 | </Storyboard>
|
||
89 | </VisualState>
|
||
90 | </VisualStateGroup>
|
||
91 | </VisualStateManager.VisualStateGroups>
|
||
92 | <Grid x:Name="Content">
|
||
93 | <Grid.ColumnDefinitions>
|
||
94 | <ColumnDefinition Width="*"/>
|
||
95 | <ColumnDefinition Width="Auto"/>
|
||
96 | <ColumnDefinition Width="Auto"/>
|
||
97 | <ColumnDefinition Width="Auto"/>
|
||
98 | <ColumnDefinition Width="2"/>
|
||
99 | </Grid.ColumnDefinitions>
|
||
100 | <Grid Margin="0,0,3,0">
|
||
101 | <Grid.ColumnDefinitions>
|
||
102 | <ColumnDefinition Width="Auto"/>
|
||
103 | <ColumnDefinition Width="*"/>
|
||
104 | </Grid.ColumnDefinitions>
|
||
105 | <ContentControl x:Name="TitleElement" ContentTemplate="{Binding SelectedPane.TitleTemplate, RelativeSource={RelativeSource TemplatedParent}}" Content="{Binding SelectedPane.Title, RelativeSource={RelativeSource TemplatedParent}}" Foreground="{TemplateBinding Foreground}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" HorizontalContentAlignment="Stretch" IsTabStop="False" Margin="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalAlignment}"/>
|
||
106 | <Grid Grid.Column="1" Height="7" Margin="8,0" SnapsToDevicePixels="True" UseLayoutRounding="True">
|
||
107 | <Path x:Name="PanePatternTop" Data="M0,1L1500,1" Height="1" Stretch="None" StrokeDashCap="Flat" Stroke="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.StrongBrush}}" StrokeThickness="1" StrokeDashArray="1 2" VerticalAlignment="Top"/>
|
||
108 | <Path x:Name="PanePatternCenter" Data="M0,1L1500,1" Height="1" Margin="2,0,0,0" Stretch="None" StrokeDashCap="Flat" Stroke="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.StrongBrush}}" StrokeThickness="1" StrokeDashArray="1 2" VerticalAlignment="Center"/>
|
||
109 | <Path x:Name="PanePatternBottom" Data="M0,1L1500,1" Height="1" Stretch="None" StrokeDashCap="Flat" Stroke="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.StrongBrush}}" StrokeThickness="1" StrokeDashArray="1 2" VerticalAlignment="Bottom"/>
|
||
110 | </Grid>
|
||
111 | </Grid>
|
||
112 | <telerik:RadDropDownButton x:Name="HeaderDropDownMenu" Grid.Column="1" CommandParameter="{TemplateBinding SelectedPane}" Command="telerik:RadDockingCommands.ContextMenuOpen" IsTabStop="{TemplateBinding IsTabStop}" InnerCornerRadius="0">
|
||
113 | <telerik:RadDropDownButton.Style>
|
||
114 | <Style TargetType="{x:Type telerik:RadDropDownButton}">
|
||
115 | <Setter Property="Template">
|
||
116 | <Setter.Value>
|
||
117 | <ControlTemplate TargetType="{x:Type telerik:RadDropDownButton}">
|
||
118 | <Grid x:Name="LayoutRoot" Background="Transparent" Height="18">
|
||
119 | <VisualStateManager.VisualStateGroups>
|
||
120 | <VisualStateGroup x:Name="CommonStates">
|
||
121 | <VisualState x:Name="Disabled">
|
||
122 | <Storyboard>
|
||
123 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="PathVisual">
|
||
124 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.BasicBrush}}"/>
|
||
125 | </ObjectAnimationUsingKeyFrames>
|
||
126 | </Storyboard>
|
||
127 | </VisualState>
|
||
128 | <VisualState x:Name="Normal"/>
|
||
129 | <VisualState x:Name="MouseOver">
|
||
130 | <Storyboard>
|
||
131 | <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="MouseOverVisual"/>
|
||
132 | </Storyboard>
|
||
133 | </VisualState>
|
||
134 | <VisualState x:Name="Pressed">
|
||
135 | <Storyboard>
|
||
136 | <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PressedVisual"/>
|
||
137 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="PathVisual">
|
||
138 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
139 | </ObjectAnimationUsingKeyFrames>
|
||
140 | </Storyboard>
|
||
141 | </VisualState>
|
||
142 | </VisualStateGroup>
|
||
143 | </VisualStateManager.VisualStateGroups>
|
||
144 | <Border x:Name="MouseOverVisual" Background="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SemiBasicBrush}}" Opacity="0"/>
|
||
145 | <Border x:Name="PressedVisual" Background="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.AccentMainBrush}}" Opacity="0"/>
|
||
146 | <Path x:Name="PathVisual" Data="M0,0L6,0 3,4z" Fill="{TemplateBinding Foreground}" Height="4" RenderTransformOrigin="0.5,0.5" Stretch="Fill" SnapsToDevicePixels="True" Width="6"/>
|
||
147 | </Grid>
|
||
148 | </ControlTemplate>
|
||
149 | </Setter.Value>
|
||
150 | </Setter>
|
||
151 | <Setter Property="MinWidth" Value="18"/>
|
||
152 | <Setter Property="Foreground" Value="{telerik:VisualStudio2013Resource ResourceKey={x:Static telerik:VisualStudio2013ResourceKey.StrongBrush}}"/>
|
||
153 | </Style>
|
||
154 | </telerik:RadDropDownButton.Style>
|
||
155 | </telerik:RadDropDownButton>
|
||
156 | <Grid Grid.Column="2" MinWidth="16" Visibility="{Binding SelectedPane.PinButtonVisibility, RelativeSource={RelativeSource TemplatedParent}}">
|
||
157 | <telerik:RadButton x:Name="HeaderPinButton" CommandParameter="{TemplateBinding SelectedPane}" Command="telerik:RadDockingCommands.Pin" IsTabStop="{TemplateBinding IsTabStop}" InnerCornerRadius="0">
|
||
158 | <telerik:RadButton.Style>
|
||
159 | <Style TargetType="{x:Type telerik:RadButton}">
|
||
160 | <Setter Property="Template">
|
||
161 | <Setter.Value>
|
||
162 | <ControlTemplate TargetType="{x:Type telerik:RadButton}">
|
||
163 | <Grid x:Name="LayoutRoot" Background="Transparent" Height="18" Width="18">
|
||
164 | <VisualStateManager.VisualStateGroups>
|
||
165 | <VisualStateGroup x:Name="CommonStates">
|
||
166 | <VisualState x:Name="Disabled">
|
||
167 | <Storyboard>
|
||
168 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="PathVisual">
|
||
169 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.BasicBrush}}"/>
|
||
170 | </ObjectAnimationUsingKeyFrames>
|
||
171 | </Storyboard>
|
||
172 | </VisualState>
|
||
173 | <VisualState x:Name="Normal"/>
|
||
174 | <VisualState x:Name="MouseOver">
|
||
175 | <Storyboard>
|
||
176 | <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="MouseOverVisual"/>
|
||
177 | </Storyboard>
|
||
178 | </VisualState>
|
||
179 | <VisualState x:Name="Pressed">
|
||
180 | <Storyboard>
|
||
181 | <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PressedVisual"/>
|
||
182 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="PathVisual">
|
||
183 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
184 | </ObjectAnimationUsingKeyFrames>
|
||
185 | </Storyboard>
|
||
186 | </VisualState>
|
||
187 | </VisualStateGroup>
|
||
188 | </VisualStateManager.VisualStateGroups>
|
||
189 | <Border x:Name="MouseOverVisual" Background="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SemiBasicBrush}}" Opacity="0"/>
|
||
190 | <Border x:Name="PressedVisual" Background="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.AccentMainBrush}}" Opacity="0"/>
|
||
191 | <Path x:Name="PathVisual" Data="M4,2L4,3 8,3 8,2z M3,0L4,0 4,1 8,1 9,1 9,2 9,3 9,6 8,6 4,6 4,7 3,7 3,6 3,4 0,4 0,3 3,3 3,2 3,1z" RenderOptions.EdgeMode="Aliased" Fill="{TemplateBinding Foreground}" Height="7" RenderTransformOrigin="0.5,0.5" Stretch="Fill" StrokeThickness="0" Width="9">
|
||
192 | <Path.RenderTransform>
|
||
193 | <RotateTransform Angle="-90"/>
|
||
194 | </Path.RenderTransform>
|
||
195 | </Path>
|
||
196 | </Grid>
|
||
197 | </ControlTemplate>
|
||
198 | </Setter.Value>
|
||
199 | </Setter>
|
||
200 | <Setter Property="Foreground" Value="{telerik:VisualStudio2013Resource ResourceKey={x:Static telerik:VisualStudio2013ResourceKey.StrongBrush}}"/>
|
||
201 | </Style>
|
||
202 | </telerik:RadButton.Style>
|
||
203 | </telerik:RadButton>
|
||
204 | <telerik:RadButton x:Name="HeaderUnPinButton" CommandParameter="{TemplateBinding SelectedPane}" Command="telerik:RadDockingCommands.Pin" IsTabStop="{TemplateBinding IsTabStop}" InnerCornerRadius="0" Visibility="Collapsed">
|
||
205 | <telerik:RadButton.Style>
|
||
206 | <Style TargetType="{x:Type telerik:RadButton}">
|
||
207 | <Setter Property="Template">
|
||
208 | <Setter.Value>
|
||
209 | <ControlTemplate TargetType="{x:Type telerik:RadButton}">
|
||
210 | <Grid x:Name="LayoutRoot" Background="Transparent" Height="16" Width="16">
|
||
211 | <VisualStateManager.VisualStateGroups>
|
||
212 | <VisualStateGroup x:Name="CommonStates">
|
||
213 | <VisualState x:Name="Disabled">
|
||
214 | <Storyboard>
|
||
215 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="PathVisual">
|
||
216 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.BasicBrush}}"/>
|
||
217 | </ObjectAnimationUsingKeyFrames>
|
||
218 | </Storyboard>
|
||
219 | </VisualState>
|
||
220 | <VisualState x:Name="Normal"/>
|
||
221 | <VisualState x:Name="MouseOver">
|
||
222 | <Storyboard>
|
||
223 | <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="MouseOverVisual"/>
|
||
224 | </Storyboard>
|
||
225 | </VisualState>
|
||
226 | <VisualState x:Name="Pressed">
|
||
227 | <Storyboard>
|
||
228 | <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PressedVisual"/>
|
||
229 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="PathVisual">
|
||
230 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
231 | </ObjectAnimationUsingKeyFrames>
|
||
232 | </Storyboard>
|
||
233 | </VisualState>
|
||
234 | </VisualStateGroup>
|
||
235 | </VisualStateManager.VisualStateGroups>
|
||
236 | <Border x:Name="MouseOverVisual" Background="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SemiBasicBrush}}" Opacity="0"/>
|
||
237 | <Border x:Name="PressedVisual" Background="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.AccentMainBrush}}" Opacity="0"/>
|
||
238 | <Path x:Name="PathVisual" Data="M4,2L4,3 8,3 8,2z M3,0L4,0 4,1 8,1 9,1 9,2 9,3 9,6 8,6 4,6 4,7 3,7 3,6 3,4 0,4 0,3 3,3 3,2 3,1z" RenderOptions.EdgeMode="Aliased" Fill="{TemplateBinding Foreground}" Height="7" RenderTransformOrigin="0.5,0.5" Stretch="Fill" StrokeThickness="0" Width="9"/>
|
||
239 | </Grid>
|
||
240 | </ControlTemplate>
|
||
241 | </Setter.Value>
|
||
242 | </Setter>
|
||
243 | <Setter Property="Foreground" Value="{telerik:VisualStudio2013Resource ResourceKey={x:Static telerik:VisualStudio2013ResourceKey.StrongBrush}}"/>
|
||
244 | </Style>
|
||
245 | </telerik:RadButton.Style>
|
||
246 | </telerik:RadButton>
|
||
247 | </Grid>
|
||
248 | <telerik:RadButton x:Name="HeaderCloseButton" Grid.Column="3" CommandParameter="{TemplateBinding SelectedPane}" Command="telerik:RadDockingCommands.Close" IsTabStop="{TemplateBinding IsTabStop}" InnerCornerRadius="0">
|
||
249 | <telerik:RadButton.Style>
|
||
250 | <Style TargetType="{x:Type telerik:RadButton}">
|
||
251 | <Setter Property="IsTabStop" Value="False"/>
|
||
252 | <Setter Property="Foreground" Value="{telerik:VisualStudio2013Resource ResourceKey={x:Static telerik:VisualStudio2013ResourceKey.StrongBrush}}"/>
|
||
253 | <Setter Property="Template">
|
||
254 | <Setter.Value>
|
||
255 | <ControlTemplate TargetType="{x:Type telerik:RadButton}">
|
||
256 | <Grid x:Name="LayoutRoot" Background="Transparent" Height="18" MinWidth="18">
|
||
257 | <VisualStateManager.VisualStateGroups>
|
||
258 | <VisualStateGroup x:Name="CommonStates">
|
||
259 | <VisualState x:Name="Disabled">
|
||
260 | <Storyboard>
|
||
261 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="PathVisual">
|
||
262 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.BasicBrush}}"/>
|
||
263 | </ObjectAnimationUsingKeyFrames>
|
||
264 | </Storyboard>
|
||
265 | </VisualState>
|
||
266 | <VisualState x:Name="Normal"/>
|
||
267 | <VisualState x:Name="MouseOver">
|
||
268 | <Storyboard>
|
||
269 | <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="MouseOverVisual"/>
|
||
270 | </Storyboard>
|
||
271 | </VisualState>
|
||
272 | <VisualState x:Name="Pressed">
|
||
273 | <Storyboard>
|
||
274 | <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PressedVisual"/>
|
||
275 | <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="PathVisual">
|
||
276 | <DiscreteObjectKeyFrame KeyTime="0" Value="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SelectedBrush}}"/>
|
||
277 | </ObjectAnimationUsingKeyFrames>
|
||
278 | </Storyboard>
|
||
279 | </VisualState>
|
||
280 | </VisualStateGroup>
|
||
281 | </VisualStateManager.VisualStateGroups>
|
||
282 | <Border x:Name="MouseOverVisual" Background="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.SemiBasicBrush}}" Opacity="0"/>
|
||
283 | <Border x:Name="PressedVisual" Background="{DynamicResource {x:Static telerik:VisualStudio2013ResourceKey.AccentMainBrush}}" Opacity="0"/>
|
||
284 | <Path x:Name="PathVisual" Data="M1,0L4,3 7,0 8,1 5,4 8,7 7,8 4,5 1,8 0,7 3,4 0,1z" Fill="{TemplateBinding Foreground}" Height="8" Stretch="Fill" StrokeThickness="0" Width="8"/>
|
||
285 | </Grid>
|
||
286 | </ControlTemplate>
|
||
287 | </Setter.Value>
|
||
288 | </Setter>
|
||
289 | </Style>
|
||
290 | </telerik:RadButton.Style>
|
||
291 | </telerik:RadButton>
|
||
292 | </Grid>
|
||
293 | </Border>
|
||
294 | </ControlTemplate>
|
||
295 | </Setter.Value>
|
||
296 | </Setter>
|
||
297 | <Setter Property="BorderThickness" Value="0"/>
|
||
298 | <Setter Property="Background" Value="{telerik:VisualStudio2013Resource ResourceKey={x:Static telerik:VisualStudio2013ResourceKey.AlternativeBrush}}"/>
|
||
299 | <Setter Property="Foreground" Value="{telerik:VisualStudio2013Resource ResourceKey={x:Static telerik:VisualStudio2013ResourceKey.MarkerBrush}}"/>
|
||
300 | <Setter Property="FontSize" Value="{telerik:VisualStudio2013Resource ResourceKey={x:Static telerik:VisualStudio2013ResourceKey.FontSizeL}}"/>
|
||
301 | <Setter Property="FontFamily" Value="{telerik:VisualStudio2013Resource ResourceKey={x:Static telerik:VisualStudio2013ResourceKey.FontFamily}}"/>
|
||
302 | <Setter Property="MinHeight" Value="22"/>
|
||
303 | <Setter Property="VerticalAlignment" Value="Center"/>
|
||
304 | <Setter Property="IsTabStop" Value="True"/>
|
||
305 | <Setter Property="Padding" Value="4,2,2,0"/>
|
||
306 | <Setter Property="telerik:InputBindingsManager.InputBindings">
|
||
307 | <Setter.Value>
|
||
308 | <InputBindingCollection>
|
||
309 | <MouseBinding Command="telerik:RadDockingCommands.PaneHeaderMenuOpen" MouseAction="RightClick">
|
||
310 | <MouseBinding.Gesture>
|
||
311 | <MouseGesture MouseAction="RightClick" Modifiers=""/>
|
||
312 | </MouseBinding.Gesture>
|
||
313 | </MouseBinding>
|
||
314 | </InputBindingCollection>
|
||
315 | </Setter.Value>
|
||
316 | </Setter>
|
||
317 | </Style>-->
|
||
318 | </ResourceDictionary>
|
||
319 | </UserControl.Resources>
|
||
320 | <Grid x:Name="LayoutRoot"> |
||
321 | <!--<Grid.RowDefinitions>
|
||
322 | <RowDefinition Height="Auto"/>
|
||
323 | <RowDefinition Height="Auto"/>
|
||
324 | <RowDefinition Height="Auto"/>
|
||
325 | <RowDefinition/>
|
||
326 | </Grid.RowDefinitions>
|
||
327 | <Border>
|
||
328 | <Grid>
|
||
329 | <Grid.RowDefinitions>
|
||
330 | <RowDefinition/>
|
||
331 | <RowDefinition/>
|
||
332 | </Grid.RowDefinitions>
|
||
333 | <Border Margin="1"
|
||
334 | BorderBrush="AliceBlue"
|
||
335 | BorderThickness="1"
|
||
336 | Padding="1">
|
||
337 | <StackPanel>
|
||
338 | <telerik:RadRadioButton x:Name="rdAllPages" Content="All Pages" FontSize="10" GroupName="PageSelect" IsChecked="True"/>
|
||
339 | <telerik:RadRadioButton x:Name="rdFavoritePages" Content="Favorited Pages" FontSize="10" GroupName="PageSelect" IsChecked="False"/>
|
||
340 | <Grid>
|
||
341 | <telerik:RadExpander Name="expCommentPages" Padding="1,0,0,0">
|
||
342 | <telerik:RadExpander.Header>
|
||
343 | <TextBlock Text="Commented Pages" VerticalAlignment="Center" FontSize="10"/>
|
||
344 | </telerik:RadExpander.Header>
|
||
345 | <telerik:RadExpander.Content>
|
||
346 | <telerik:RadListBox x:Name="lstSelectComment"
|
||
347 | BorderBrush="#FF65DF00"
|
||
348 | BorderThickness="2"/>
|
||
349 | </telerik:RadExpander.Content>
|
||
350 | </telerik:RadExpander>
|
||
351 | </Grid>
|
||
352 | </StackPanel>
|
||
353 | </Border>
|
||
354 | <Border Grid.Row="1" Grid.ColumnSpan="2" BorderBrush="#FF969696" BorderThickness="1">
|
||
355 | <Border.Background>
|
||
356 | <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.MenuHighlightColorKey}}"/>
|
||
357 | </Border.Background>
|
||
358 | <Grid Grid.Column="0" HorizontalAlignment="Center">
|
||
359 | <Grid.ColumnDefinitions>
|
||
360 | <ColumnDefinition Width="*"/>
|
||
361 | <ColumnDefinition Width="Auto"/>
|
||
362 | </Grid.ColumnDefinitions>
|
||
363 | <Grid Grid.Column="0" HorizontalAlignment="Center">
|
||
364 | <Grid.ColumnDefinitions>
|
||
365 | <ColumnDefinition/>
|
||
366 | <ColumnDefinition/>
|
||
367 | <ColumnDefinition/>
|
||
368 | </Grid.ColumnDefinitions>
|
||
369 | <TextBlock x:Name="txtCurrentPageNo" FontSize="12" FontStretch="Normal" FontStyle="Italic" Foreground="White" Text="0"/>
|
||
370 | <TextBlock Grid.Column="1" Foreground="White" Text="/"/>
|
||
371 | <TextBlock Grid.Column="2" x:Name="txtToPageNo" FontSize="12" FontStretch="Normal" FontStyle="Italic" Foreground="White" Text="0"/>
|
||
372 | </Grid>
|
||
373 | <TextBlock x:Name="txtThumbCount" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Center" FontWeight="Bold" Foreground="Yellow"
|
||
374 | Text="" Visibility="Collapsed"/>
|
||
375 | </Grid>
|
||
376 | </Border>
|
||
377 | </Grid>
|
||
378 | </Border>
|
||
379 | <Grid Grid.Row="2" Height="30">
|
||
380 | <Grid.ColumnDefinitions>
|
||
381 | <ColumnDefinition/>
|
||
382 | <ColumnDefinition/>
|
||
383 | <ColumnDefinition/>
|
||
384 | <ColumnDefinition/>
|
||
385 | </Grid.ColumnDefinitions>
|
||
386 | <telerik:RadButton x:Name="btStart" Content="첨" Grid.Column="0" Margin="5,0"/>
|
||
387 | <telerik:RadButton x:Name="btBefore" Content="왼" Grid.Column="1" Margin="5,0"/>
|
||
388 | <telerik:RadButton x:Name="btNext" Content="오" Grid.Column="2" Margin="5,0"/>
|
||
389 | <telerik:RadButton x:Name="btEnd" Content="끝" Grid.Column="3" Margin="5,0"/>
|
||
390 | </Grid>
|
||
391 | <telerik:RadListBox x:Name="lstImageBox"
|
||
392 | Grid.Row="3"
|
||
393 | Background="#444444"
|
||
394 | BorderBrush="#FFC2C2C2"
|
||
395 | ScrollViewer.HorizontalScrollBarVisibility="Disabled"/>-->
|
||
396 | |||
397 | |||
398 | <Grid.RowDefinitions>
|
||
399 | <!--<RowDefinition Height="30"/>-->
|
||
400 | <RowDefinition Height="*"/> |
||
401 | </Grid.RowDefinitions>
|
||
402 | |||
403 | <!--<Border Background="{DynamicResource KCOMColor_AccentBrush}">
|
||
404 | <TextBlock Text="Thumbnail" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
|
||
405 | </Border>-->
|
||
406 | |||
407 | |||
408 | <!--<Border Background="#FFF5F5F5" Grid.Row="1">
|
||
409 | <telerik:RadTabControl x:Name="radTabControl" TabStripPlacement="Top" Align="Justify" Background="Transparent">
|
||
410 | <telerik:StyleManager.Theme>
|
||
411 | <telerik:VisualStudio2013Theme/>
|
||
412 | </telerik:StyleManager.Theme>
|
||
413 | <telerik:RadTabItem Header="THUMB">
|
||
414 | <telerik:RadListBox Background="#FFE3E3E3">
|
||
415 | <telerik:StyleManager.Theme>
|
||
416 | <telerik:VisualStudio2013Theme/>
|
||
417 | </telerik:StyleManager.Theme>
|
||
418 | <telerik:RadListBox.ItemTemplate>
|
||
419 | <DataTemplate>
|
||
420 | --><!--<Border Background="White" Width="200" Height="250"/>--><!-- |
||
421 | <Grid Width="200">
|
||
422 | <Grid.RowDefinitions>
|
||
423 | <RowDefinition Height="300"/>
|
||
424 | <RowDefinition Height="Auto"/>
|
||
425 | </Grid.RowDefinitions>
|
||
426 | <Border BorderBrush="#FFC6C6C6" BorderThickness="1" Background="White">
|
||
427 |
|
||
428 | </Border>
|
||
429 | <TextBlock Text="Page 1" Grid.Row="1" HorizontalAlignment="Center"/>
|
||
430 | </Grid>
|
||
431 | </DataTemplate>
|
||
432 | </telerik:RadListBox.ItemTemplate>
|
||
433 | <telerik:RadListBox.Items>
|
||
434 | <TextBlock Text="a"/>
|
||
435 | <TextBlock Text="a"/>
|
||
436 | <TextBlock Text="a"/>
|
||
437 | </telerik:RadListBox.Items>
|
||
438 | |||
439 |
|
||
440 | </telerik:RadListBox>
|
||
441 | </telerik:RadTabItem>
|
||
442 | <telerik:RadTabItem Header="BOOK"/>
|
||
443 | <telerik:RadTabItem Header="TALK"/>
|
||
444 | </telerik:RadTabControl>
|
||
445 | </Border>-->
|
||
446 | |||
447 | <Grid Background="White"> |
||
448 | <!--<Grid.ColumnDefinitions>
|
||
449 | <ColumnDefinition Width="40"/>
|
||
450 | <ColumnDefinition Width="*"/>
|
||
451 | </Grid.ColumnDefinitions>
|
||
452 | <telerik:RadRibbonTab telerik:StyleManager.Theme="Office2016" />-->
|
||
453 | <telerik:RadListBox x:Name="lstDocPage"/> |
||
454 | </Grid>
|
||
455 | </Grid>
|
||
456 | </UserControl> |