markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / DashBoard.xaml @ f5ec88b8
이력 | 보기 | 이력해설 | 다운로드 (27.1 KB)
1 |
<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
---|---|
2 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
6 |
xmlns:controls="clr-namespace:Markus.Service.StationController.Controls" |
7 |
xmlns:VM="clr-namespace:Markus.Service.StationController.ViewModel" |
8 |
xmlns:Data="clr-namespace:Markus.Service.StationController.Data" |
9 |
xmlns:chart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Chart" |
10 |
xmlns:chartView="clr-namespace:Telerik.Windows.Controls.ChartView;assembly=Telerik.Windows.Controls.Chart" |
11 |
xmlns:telerikChart="using:Telerik.UI.Xaml.Controls.Chart" |
12 |
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
13 |
xmlns:local="clr-namespace:Markus.Service.StationController.Views" x:Class="Markus.Service.StationController.Views.DashBoard" |
14 |
mc:Ignorable="d" Background="White" DataContext="{DynamicResource DashBoardViewModel}" |
15 |
d:DesignHeight="450" d:DesignWidth="1000"> |
16 |
<UserControl.Resources>
|
17 |
<Style TargetType="telerik:GridViewCell" x:Key="StretchCellStyle"> |
18 |
<Setter Property="Margin" Value="0"/> |
19 |
<Setter Property="Padding" Value="0"/> |
20 |
<Setter Property="VerticalContentAlignment" Value="Stretch"/> |
21 |
<Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
22 |
</Style>
|
23 |
<Style TargetType="{x:Type telerik:GridViewCell}" x:Key="OriginalFileGridViewCell"> |
24 |
<Setter Property="HorizontalContentAlignment" Value="Left"/> |
25 |
</Style>
|
26 |
<Style x:Key="axisLabelStyle" TargetType="TextBlock"> |
27 |
<Setter Property="FontFamily" Value="Segoe UI" /> |
28 |
</Style>
|
29 |
<SolidColorBrush x:Key="ActualBrush" Color="#FFCCCCCC" /> |
30 |
<SolidColorBrush x:Key="TargetBrush" Color="#FF1B9DDE" /> |
31 |
<Style x:Key="TextBlockCountryStyle" TargetType="TextBlock"> |
32 |
<Setter Property="FontSize" Value="12" /> |
33 |
<Setter Property="Foreground" Value="Black" /> |
34 |
</Style>
|
35 |
<Style TargetType="{x:Type controls:RowIndexColumn}"> |
36 |
<Setter Property="TextAlignment" Value="Center"/> |
37 |
</Style>
|
38 |
<Style x:Key="TextBlockCountryStyle_Exception" TargetType="TextBlock"> |
39 |
<Setter Property="FontSize" Value="12" /> |
40 |
<Setter Property="Foreground" Value="Blue" /> |
41 |
<Setter Property="Margin" Value="50 0 0 0" /> |
42 |
</Style>
|
43 |
<telerik:ChartPalette x:Key="ActualTargetChartPalette"> |
44 |
<telerik:ChartPalette.GlobalEntries>
|
45 |
<telerik:PaletteEntry Fill="{StaticResource ActualBrush}" /> |
46 |
<telerik:PaletteEntry Fill="{StaticResource TargetBrush}" /> |
47 |
</telerik:ChartPalette.GlobalEntries>
|
48 |
</telerik:ChartPalette>
|
49 |
<Style x:Key="TransparentTickStyle" TargetType="Rectangle" /> |
50 |
<RectangleGeometry x:Key="SolidRectLegendGeometry" Rect="0 0 12 12" /> |
51 |
<RectangleGeometry x:Key="LineSeriesLegendGeometry" Rect="0 5 12 2" /> |
52 |
<VM:DashBoardViewModel x:Key="DashBoardViewModel"/> |
53 |
<DataTemplate x:Key="RowDetailsTemplate"> |
54 |
<local:DataBaseViewInfo /> |
55 |
</DataTemplate>
|
56 |
</UserControl.Resources>
|
57 |
<i:Interaction.Triggers>
|
58 |
<i:EventTrigger EventName="Loaded"> |
59 |
<i:InvokeCommandAction Command="{Binding LoadedCommand}"/> |
60 |
</i:EventTrigger>
|
61 |
<i:EventTrigger EventName="Unloaded"> |
62 |
<i:InvokeCommandAction Command="{Binding ClosingCommand}"/> |
63 |
</i:EventTrigger>
|
64 |
</i:Interaction.Triggers>
|
65 |
<Grid>
|
66 |
<Grid.RowDefinitions>
|
67 |
<RowDefinition Height="Auto" /> |
68 |
<RowDefinition Height="Auto" /> |
69 |
<RowDefinition Height="Auto" /> |
70 |
<RowDefinition Height="*" /> |
71 |
</Grid.RowDefinitions>
|
72 |
<Grid.ColumnDefinitions>
|
73 |
<ColumnDefinition/> |
74 |
<ColumnDefinition/> |
75 |
</Grid.ColumnDefinitions>
|
76 |
<StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Left" Grid.Row="0" Height="20" > |
77 |
<TextBlock Text="Display Count : " VerticalAlignment="Center"/> |
78 |
<telerik:RadComboBox x:Name="ComboCount" Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember" |
79 |
DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" /> |
80 |
<TextBlock Text="Status Type : " Margin="10,0,0,0" VerticalAlignment="Center"/> |
81 |
<telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4" |
82 |
DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/> |
83 |
</StackPanel>
|
84 |
<StackPanel Grid.Row="1" Grid.ColumnSpan="2"> |
85 |
<StackPanel Orientation="Horizontal"> |
86 |
<TextBlock Text="CreateTime " VerticalAlignment="Center" Width="102"/> |
87 |
<telerik:RadDateTimePicker x:Name="datePicker1" Width="200" |
88 |
InputMode="DateTimePicker" |
89 |
VerticalAlignment="Center" |
90 |
HorizontalAlignment="Stretch" |
91 |
SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged }" > |
92 |
</telerik:RadDateTimePicker>
|
93 |
<TextBlock Text=" ~ " VerticalAlignment="Center"/> |
94 |
<telerik:RadDateTimePicker x:Name="datePicker2" Width="200" |
95 |
InputMode="DateTimePicker" HorizontalAlignment="Stretch" |
96 |
VerticalAlignment="Center" |
97 |
SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
98 |
Margin="0,1"> |
99 |
</telerik:RadDateTimePicker>
|
100 |
<Button Content="Clear" Margin="5" Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/> |
101 |
</StackPanel>
|
102 |
</StackPanel>
|
103 |
<TextBlock Text="Convert Items" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Center" Margin="0,20,0,20"/> |
104 |
<Border BorderBrush="Black" BorderThickness="2" Grid.Row="3" Grid.Column="0" Margin="20,0,0,0"> |
105 |
<Grid>
|
106 |
<Grid.ColumnDefinitions>
|
107 |
<ColumnDefinition Width="*" /> |
108 |
<ColumnDefinition Width="Auto" /> |
109 |
</Grid.ColumnDefinitions>
|
110 |
<Grid.RowDefinitions>
|
111 |
<RowDefinition Height="*"/> |
112 |
<RowDefinition Height="Auto"/> |
113 |
</Grid.RowDefinitions>
|
114 |
<telerik:RadCartesianChart x:Name="chart" Palette="{StaticResource ActualTargetChartPalette}" ClipToBounds="False" Margin="0,50,0,50" Grid.Row="0"> |
115 |
<telerik:RadCartesianChart.VerticalAxis>
|
116 |
<telerik:CategoricalAxis IsInverse="True" |
117 |
MajorTickStyle="{StaticResource TransparentTickStyle}" |
118 |
LineStroke="Transparent" |
119 |
LabelStyle="{StaticResource TextBlockCountryStyle}" /> |
120 |
</telerik:RadCartesianChart.VerticalAxis>
|
121 |
<telerik:RadCartesianChart.HorizontalAxis>
|
122 |
<telerik:LinearAxis Minimum="0" Maximum="50000" MajorStep="10000" LabelStyle="{StaticResource axisLabelStyle}"/> |
123 |
</telerik:RadCartesianChart.HorizontalAxis>
|
124 |
<telerik:RadCartesianChart.Series>
|
125 |
<telerik:BarSeries CategoryBinding="Project_NO" Name="CountBar" |
126 |
ValueBinding="Count" |
127 |
ItemsSource="{Binding ConvertCOUNTDashBoard}" |
128 |
CombineMode="None" |
129 |
ShowLabels="True" |
130 |
ClipToPlotArea="True" > |
131 |
<telerik:BarSeries.PointAnimation>
|
132 |
<telerik:ChartMoveAnimation Delay="0:0:0.125" Duration="0:0:1.55" MoveAnimationType="Left" > |
133 |
<telerik:ChartMoveAnimation.Easing>
|
134 |
<BounceEase EasingMode="EaseOut" Bounces="20" Bounciness="5" /> |
135 |
</telerik:ChartMoveAnimation.Easing>
|
136 |
</telerik:ChartMoveAnimation>
|
137 |
</telerik:BarSeries.PointAnimation>
|
138 |
<telerik:BarSeries.PointTemplate>
|
139 |
<DataTemplate>
|
140 |
<Rectangle Fill="{StaticResource ActualBrush}" Margin="0 0 0 3" /> |
141 |
</DataTemplate>
|
142 |
</telerik:BarSeries.PointTemplate>
|
143 |
<telerik:BarSeries.LegendSettings>
|
144 |
<telerik:SeriesLegendSettings Title="Count" MarkerGeometry="{StaticResource SolidRectLegendGeometry}" /> |
145 |
</telerik:BarSeries.LegendSettings>
|
146 |
<telerik:BarSeries.LabelDefinitions>
|
147 |
<telerik:ChartSeriesLabelDefinition Binding="StringCount" DefaultVisualStyle="{StaticResource TextBlockCountryStyle}" HorizontalAlignment="Right" VerticalAlignment="Center"/> |
148 |
<telerik:ChartSeriesLabelDefinition Binding="ExceptionCount" DefaultVisualStyle="{StaticResource TextBlockCountryStyle_Exception}" HorizontalAlignment="Right" VerticalAlignment="Center"/> |
149 |
</telerik:BarSeries.LabelDefinitions>
|
150 |
</telerik:BarSeries>
|
151 |
|
152 |
|
153 |
<telerik:BarSeries CategoryBinding="Project_NO" |
154 |
ValueBinding="ExceptionCount" |
155 |
ItemsSource="{Binding ConvertCOUNTDashBoard}" |
156 |
CombineMode="None" |
157 |
ShowLabels="False" |
158 |
ClipToPlotArea="True" > |
159 |
<telerik:BarSeries.PointAnimation>
|
160 |
<telerik:ChartMoveAnimation Delay="0:0:0.125" Duration="0:0:1.55" MoveAnimationType="Left" > |
161 |
<telerik:ChartMoveAnimation.Easing>
|
162 |
<BounceEase EasingMode="EaseOut" Bounces="20" Bounciness="5" /> |
163 |
</telerik:ChartMoveAnimation.Easing>
|
164 |
</telerik:ChartMoveAnimation>
|
165 |
</telerik:BarSeries.PointAnimation>
|
166 |
<telerik:BarSeries.PointTemplate>
|
167 |
<DataTemplate>
|
168 |
<Rectangle Fill="{StaticResource TargetBrush}" Height="2" VerticalAlignment="Bottom" /> |
169 |
</DataTemplate>
|
170 |
</telerik:BarSeries.PointTemplate>
|
171 |
<telerik:BarSeries.LegendSettings>
|
172 |
<telerik:SeriesLegendSettings Title="ExceptionCount" MarkerGeometry="{StaticResource LineSeriesLegendGeometry}" /> |
173 |
</telerik:BarSeries.LegendSettings>
|
174 |
</telerik:BarSeries>
|
175 |
</telerik:RadCartesianChart.Series>
|
176 |
</telerik:RadCartesianChart>
|
177 |
<telerik:RadLegend Grid.Column="1" Grid.Row="0" Margin="24,4,0,0" MinWidth="76" Items="{Binding LegendItems, ElementName=chart}" /> |
178 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
179 |
ItemsSource="{Binding DashBoard_Convert}" |
180 |
SelectionMode="Extended" |
181 |
SelectionUnit="FullRow" |
182 |
CanUserSelect ="True" |
183 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
184 |
AutoGenerateColumns="False" |
185 |
ColumnWidth="*" CanUserFreezeColumns="False" |
186 |
Grid.Row="1" Grid.ColumnSpan="2" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
187 |
LeftFrozenColumnCount="6" |
188 |
RightFrozenColumnCount="0"> |
189 |
<i:Interaction.Behaviors>
|
190 |
<controls:GridViewSelectionUtilities SelectedItems="{Binding SelectedConvertList, Source={StaticResource DashBoardViewModel}}" /> |
191 |
</i:Interaction.Behaviors>
|
192 |
<telerik:RadGridView.Columns>
|
193 |
<telerik:GridViewToggleRowDetailsColumn /> |
194 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
195 |
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*" > |
196 |
<telerik:GridViewDataColumn.CellTemplate>
|
197 |
<DataTemplate>
|
198 |
<telerik:RadButton Content="Click" BorderThickness="0" |
199 |
Background="Transparent" |
200 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DashBoardViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
201 |
</DataTemplate>
|
202 |
</telerik:GridViewDataColumn.CellTemplate>
|
203 |
</telerik:GridViewDataColumn>
|
204 |
<telerik:GridViewDataColumn Header="ProjectNO" |
205 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
206 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
207 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
208 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
209 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
210 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
211 |
NavigateUrlFormatString=" {0}" |
212 |
NavigateUrlMemberPaths="OriginfilePath" |
213 |
Width="2*"> |
214 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
215 |
<DataTemplate>
|
216 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
217 |
</DataTemplate>
|
218 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
219 |
</telerik:GridViewDynamicHyperlinkColumn>
|
220 |
|
221 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
222 |
<telerik:GridViewDataColumn.CellTemplate>
|
223 |
<DataTemplate>
|
224 |
<Grid>
|
225 |
<telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" |
226 |
Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DashBoardViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
227 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
228 |
</telerik:RadButton>
|
229 |
</Grid>
|
230 |
</DataTemplate>
|
231 |
</telerik:GridViewDataColumn.CellTemplate>
|
232 |
</telerik:GridViewDataColumn>
|
233 |
|
234 |
<telerik:GridViewDataColumn Header="CreateTime" IsReadOnly="True" Background="Transparent" |
235 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
236 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
237 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
238 |
</telerik:RadGridView.Columns>
|
239 |
</telerik:RadGridView>
|
240 |
</Grid>
|
241 |
</Border>
|
242 |
|
243 |
|
244 |
<TextBlock Text="FinalPDF Items" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" Margin="0,20,0,20"/> |
245 |
<Border BorderBrush="Black" BorderThickness="2" Grid.Row="3" Grid.Column="1" Margin="20,0,0,0"> |
246 |
<Grid>
|
247 |
<Grid.ColumnDefinitions>
|
248 |
<ColumnDefinition Width="*" /> |
249 |
<ColumnDefinition Width="Auto" /> |
250 |
</Grid.ColumnDefinitions>
|
251 |
<Grid.RowDefinitions>
|
252 |
<RowDefinition Height="*"/> |
253 |
<RowDefinition Height="Auto"/> |
254 |
</Grid.RowDefinitions>
|
255 |
<telerik:RadCartesianChart x:Name="char1" Palette="{StaticResource ActualTargetChartPalette}" ClipToBounds="False" Margin="0,50,0,50" Grid.Row="0"> |
256 |
<telerik:RadCartesianChart.VerticalAxis>
|
257 |
<telerik:CategoricalAxis IsInverse="True" |
258 |
MajorTickStyle="{StaticResource TransparentTickStyle}" |
259 |
LineStroke="Transparent" |
260 |
LabelStyle="{StaticResource TextBlockCountryStyle}" /> |
261 |
</telerik:RadCartesianChart.VerticalAxis>
|
262 |
<telerik:RadCartesianChart.HorizontalAxis>
|
263 |
<telerik:LinearAxis Minimum="0" Maximum="60000" MajorStep="15000" LabelStyle="{StaticResource axisLabelStyle}"/> |
264 |
</telerik:RadCartesianChart.HorizontalAxis>
|
265 |
<telerik:RadCartesianChart.Series>
|
266 |
<telerik:BarSeries CategoryBinding="Project_NO" |
267 |
ValueBinding="Count" |
268 |
ItemsSource="{Binding FinalPDFCOUNTDashBoard}" |
269 |
CombineMode="None" |
270 |
ShowLabels="True" |
271 |
ClipToPlotArea="True" > |
272 |
<telerik:BarSeries.PointAnimation>
|
273 |
<telerik:ChartMoveAnimation Delay="0:0:0.125" Duration="0:0:1.55" MoveAnimationType="Left" > |
274 |
<telerik:ChartMoveAnimation.Easing>
|
275 |
<BounceEase EasingMode="EaseOut" Bounces="20" Bounciness="5" /> |
276 |
</telerik:ChartMoveAnimation.Easing>
|
277 |
</telerik:ChartMoveAnimation>
|
278 |
</telerik:BarSeries.PointAnimation>
|
279 |
<telerik:BarSeries.PointTemplate>
|
280 |
<DataTemplate>
|
281 |
<Rectangle Fill="{StaticResource ActualBrush}" Margin="0 0 0 3" /> |
282 |
</DataTemplate>
|
283 |
</telerik:BarSeries.PointTemplate>
|
284 |
<telerik:BarSeries.LegendSettings>
|
285 |
<telerik:SeriesLegendSettings Title="Count" MarkerGeometry="{StaticResource SolidRectLegendGeometry}" /> |
286 |
</telerik:BarSeries.LegendSettings>
|
287 |
<telerik:BarSeries.LabelDefinitions>
|
288 |
<telerik:ChartSeriesLabelDefinition Binding="StringCount" DefaultVisualStyle="{StaticResource TextBlockCountryStyle}" HorizontalAlignment="Right" VerticalAlignment="Center" /> |
289 |
<telerik:ChartSeriesLabelDefinition Binding="ExceptionCount" DefaultVisualStyle="{StaticResource TextBlockCountryStyle_Exception}" HorizontalAlignment="Right" VerticalAlignment="Center"/> |
290 |
</telerik:BarSeries.LabelDefinitions>
|
291 |
</telerik:BarSeries>
|
292 |
|
293 |
|
294 |
<telerik:BarSeries CategoryBinding="Project_NO" |
295 |
ValueBinding="ExceptionCount" |
296 |
ItemsSource="{Binding FinalPDFCOUNTDashBoard}" |
297 |
CombineMode="None" |
298 |
ShowLabels="False" |
299 |
ClipToPlotArea="True" > |
300 |
<telerik:BarSeries.PointAnimation>
|
301 |
<telerik:ChartMoveAnimation Delay="0:0:0.125" Duration="0:0:1.55" MoveAnimationType="Left" > |
302 |
<telerik:ChartMoveAnimation.Easing>
|
303 |
<BounceEase EasingMode="EaseOut" Bounces="20" Bounciness="5" /> |
304 |
</telerik:ChartMoveAnimation.Easing>
|
305 |
</telerik:ChartMoveAnimation>
|
306 |
</telerik:BarSeries.PointAnimation>
|
307 |
<telerik:BarSeries.PointTemplate>
|
308 |
<DataTemplate>
|
309 |
<Rectangle Fill="{StaticResource TargetBrush}" Height="2" VerticalAlignment="Bottom" /> |
310 |
</DataTemplate>
|
311 |
</telerik:BarSeries.PointTemplate>
|
312 |
<telerik:BarSeries.LegendSettings>
|
313 |
<telerik:SeriesLegendSettings Title="ExceptionCount" MarkerGeometry="{StaticResource LineSeriesLegendGeometry}" /> |
314 |
</telerik:BarSeries.LegendSettings>
|
315 |
</telerik:BarSeries>
|
316 |
</telerik:RadCartesianChart.Series>
|
317 |
</telerik:RadCartesianChart>
|
318 |
|
319 |
<telerik:RadLegend Grid.Column="1" Grid.Row="0" MinWidth="76" Items="{Binding LegendItems, ElementName=char1}" /> |
320 |
|
321 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
322 |
ItemsSource="{Binding DashBoard_FinalPDF}" |
323 |
SelectionMode="Extended" |
324 |
SelectionUnit="FullRow" |
325 |
CanUserSelect ="True" |
326 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
327 |
AutoGenerateColumns="False" |
328 |
ColumnWidth="*" CanUserFreezeColumns="False" |
329 |
Grid.Row="1" Grid.ColumnSpan="2" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
330 |
LeftFrozenColumnCount="6" |
331 |
RightFrozenColumnCount="0"> |
332 |
<i:Interaction.Behaviors>
|
333 |
<controls:GridViewSelectionUtilities SelectedItems="{Binding SelectedFinalPDFList, Source={StaticResource DashBoardViewModel}}" /> |
334 |
</i:Interaction.Behaviors>
|
335 |
<telerik:RadGridView.Columns>
|
336 |
<telerik:GridViewToggleRowDetailsColumn /> |
337 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
338 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
339 |
<telerik:GridViewDataColumn.CellTemplate>
|
340 |
<DataTemplate>
|
341 |
<telerik:RadButton Content="Click" BorderThickness="0" |
342 |
Background="Transparent" |
343 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DashBoardViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
344 |
</DataTemplate>
|
345 |
</telerik:GridViewDataColumn.CellTemplate>
|
346 |
</telerik:GridViewDataColumn>
|
347 |
<telerik:GridViewDataColumn Header="ProjectNO" |
348 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
349 |
<telerik:GridViewDataColumn Header="DocumentID" |
350 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
351 |
<telerik:GridViewDataColumn Header="Create UserID" |
352 |
DataMemberBinding="{Binding Create_User_ID}" Width="*" /> |
353 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
354 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
355 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
356 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
357 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
358 |
NavigateUrlFormatString=" {0}" |
359 |
NavigateUrlMemberPaths="OriginfilePath" |
360 |
Width="2*"> |
361 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
362 |
<DataTemplate>
|
363 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
364 |
</DataTemplate>
|
365 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
366 |
</telerik:GridViewDynamicHyperlinkColumn>
|
367 |
|
368 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
369 |
<telerik:GridViewDataColumn.CellTemplate>
|
370 |
<DataTemplate>
|
371 |
<Grid>
|
372 |
<telerik:RadButton Grid.Column="1" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" |
373 |
Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DashBoardViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
374 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
375 |
</telerik:RadButton>
|
376 |
</Grid>
|
377 |
</DataTemplate>
|
378 |
</telerik:GridViewDataColumn.CellTemplate>
|
379 |
</telerik:GridViewDataColumn>
|
380 |
<telerik:GridViewDataColumn Header="CreateTime" |
381 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
382 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
383 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
384 |
</telerik:RadGridView.Columns>
|
385 |
</telerik:RadGridView>
|
386 |
</Grid>
|
387 |
</Border>
|
388 |
</Grid>
|
389 |
</UserControl>
|