markus / ConvertService / ServiceController / Markus.Service.StationController / Views / DashBoard.xaml @ 5c387707
이력 | 보기 | 이력해설 | 다운로드 (26.7 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:GridViewHeaderCell}"> |
24 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
25 |
<Setter Property="Background" Value="Gray"/> |
26 |
</Style>
|
27 |
<Style TargetType="{x:Type telerik:GridViewCell}"> |
28 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
29 |
</Style>
|
30 |
<Style TargetType="{x:Type telerik:GridViewCell}" x:Key="OriginalFileGridViewCell"> |
31 |
<Setter Property="HorizontalContentAlignment" Value="Left"/> |
32 |
</Style>
|
33 |
<Style x:Key="axisLabelStyle" TargetType="TextBlock"> |
34 |
<Setter Property="FontFamily" Value="Segoe UI" /> |
35 |
</Style>
|
36 |
<SolidColorBrush x:Key="ActualBrush" Color="#FFCCCCCC" /> |
37 |
<SolidColorBrush x:Key="TargetBrush" Color="#FF1B9DDE" /> |
38 |
<Style x:Key="TextBlockCountryStyle" TargetType="TextBlock"> |
39 |
<Setter Property="FontSize" Value="12" /> |
40 |
<Setter Property="Foreground" Value="Black" /> |
41 |
</Style>
|
42 |
<Style TargetType="{x:Type controls:RowIndexColumn}"> |
43 |
<Setter Property="TextAlignment" Value="Center"/> |
44 |
</Style>
|
45 |
<Style x:Key="TextBlockCountryStyle_Exception" TargetType="TextBlock"> |
46 |
<Setter Property="FontSize" Value="12" /> |
47 |
<Setter Property="Foreground" Value="Blue" /> |
48 |
<Setter Property="Margin" Value="50 0 0 0" /> |
49 |
</Style>
|
50 |
<telerik:ChartPalette x:Key="ActualTargetChartPalette"> |
51 |
<telerik:ChartPalette.GlobalEntries>
|
52 |
<telerik:PaletteEntry Fill="{StaticResource ActualBrush}" /> |
53 |
<telerik:PaletteEntry Fill="{StaticResource TargetBrush}" /> |
54 |
</telerik:ChartPalette.GlobalEntries>
|
55 |
</telerik:ChartPalette>
|
56 |
<Style x:Key="TransparentTickStyle" TargetType="Rectangle" /> |
57 |
<RectangleGeometry x:Key="SolidRectLegendGeometry" Rect="0 0 12 12" /> |
58 |
<RectangleGeometry x:Key="LineSeriesLegendGeometry" Rect="0 5 12 2" /> |
59 |
<VM:DashBoardViewModel x:Key="DashBoardViewModel"/> |
60 |
<DataTemplate x:Key="RowDetailsTemplate"> |
61 |
<local:DataBaseViewInfo /> |
62 |
</DataTemplate>
|
63 |
</UserControl.Resources>
|
64 |
<i:Interaction.Triggers>
|
65 |
<i:EventTrigger EventName="Loaded"> |
66 |
<i:InvokeCommandAction Command="{Binding LoadedCommand}"/> |
67 |
</i:EventTrigger>
|
68 |
<i:EventTrigger EventName="Unloaded"> |
69 |
<i:InvokeCommandAction Command="{Binding ClosingCommand}"/> |
70 |
</i:EventTrigger>
|
71 |
</i:Interaction.Triggers>
|
72 |
<Grid>
|
73 |
<Grid.RowDefinitions>
|
74 |
<RowDefinition Height="Auto" /> |
75 |
<RowDefinition Height="Auto" /> |
76 |
<RowDefinition Height="Auto" /> |
77 |
<RowDefinition Height="*" /> |
78 |
</Grid.RowDefinitions>
|
79 |
<Grid.ColumnDefinitions>
|
80 |
<ColumnDefinition/> |
81 |
<ColumnDefinition/> |
82 |
</Grid.ColumnDefinitions>
|
83 |
<StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Left" Grid.Row="0" Height="20" > |
84 |
<TextBlock Text="Display Count : " VerticalAlignment="Center"/> |
85 |
<telerik:RadComboBox x:Name="ComboCount" Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember" |
86 |
DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" /> |
87 |
<TextBlock Text="Status Type : " Margin="10,0,0,0" VerticalAlignment="Center"/> |
88 |
<telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4" |
89 |
DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/> |
90 |
</StackPanel>
|
91 |
<StackPanel Grid.Row="1" Grid.ColumnSpan="2"> |
92 |
<StackPanel Orientation="Horizontal"> |
93 |
<TextBlock Text="CreateTime " VerticalAlignment="Center" Width="102"/> |
94 |
<telerik:RadDateTimePicker x:Name="datePicker1" Width="200" |
95 |
InputMode="DateTimePicker" |
96 |
VerticalAlignment="Center" |
97 |
HorizontalAlignment="Stretch" |
98 |
SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged }" > |
99 |
</telerik:RadDateTimePicker>
|
100 |
<TextBlock Text=" ~ " VerticalAlignment="Center"/> |
101 |
<telerik:RadDateTimePicker x:Name="datePicker2" Width="200" |
102 |
InputMode="DateTimePicker" HorizontalAlignment="Stretch" |
103 |
VerticalAlignment="Center" |
104 |
SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
105 |
Margin="0,1"> |
106 |
</telerik:RadDateTimePicker>
|
107 |
<Button Content="Clear" Margin="5" Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/> |
108 |
</StackPanel>
|
109 |
</StackPanel>
|
110 |
<TextBlock Text="Convert Items" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Center" Margin="0,20,0,20"/> |
111 |
<Border BorderBrush="Black" BorderThickness="2" Grid.Row="3" Grid.Column="0" Margin="20,0,0,0"> |
112 |
<Grid>
|
113 |
<Grid.ColumnDefinitions>
|
114 |
<ColumnDefinition Width="*" /> |
115 |
<ColumnDefinition Width="Auto" /> |
116 |
</Grid.ColumnDefinitions>
|
117 |
<Grid.RowDefinitions>
|
118 |
<RowDefinition Height="*"/> |
119 |
<RowDefinition Height="Auto"/> |
120 |
</Grid.RowDefinitions>
|
121 |
<telerik:RadCartesianChart x:Name="chart" Palette="{StaticResource ActualTargetChartPalette}" ClipToBounds="False" Margin="0,50,0,50" Grid.Row="0" Grid.ColumnSpan="2"> |
122 |
<telerik:RadCartesianChart.VerticalAxis>
|
123 |
<telerik:CategoricalAxis IsInverse="True" |
124 |
MajorTickStyle="{StaticResource TransparentTickStyle}" |
125 |
LineStroke="Transparent" |
126 |
LabelStyle="{StaticResource TextBlockCountryStyle}" /> |
127 |
</telerik:RadCartesianChart.VerticalAxis>
|
128 |
<telerik:RadCartesianChart.HorizontalAxis>
|
129 |
<telerik:LinearAxis Minimum="0" Maximum="50000" MajorStep="10000" LabelStyle="{StaticResource axisLabelStyle}"/> |
130 |
</telerik:RadCartesianChart.HorizontalAxis>
|
131 |
<telerik:RadCartesianChart.Series>
|
132 |
<telerik:BarSeries CategoryBinding="Project_NO" Name="CountBar" |
133 |
ValueBinding="Count" |
134 |
ItemsSource="{Binding ConvertCOUNTDashBoard}" |
135 |
CombineMode="None" |
136 |
ShowLabels="True" |
137 |
ClipToPlotArea="True" > |
138 |
<telerik:BarSeries.PointAnimation>
|
139 |
<telerik:ChartMoveAnimation Delay="0:0:0.125" Duration="0:0:1.55" MoveAnimationType="Left" > |
140 |
<telerik:ChartMoveAnimation.Easing>
|
141 |
<BounceEase EasingMode="EaseOut" Bounces="20" Bounciness="5" /> |
142 |
</telerik:ChartMoveAnimation.Easing>
|
143 |
</telerik:ChartMoveAnimation>
|
144 |
</telerik:BarSeries.PointAnimation>
|
145 |
<telerik:BarSeries.PointTemplate>
|
146 |
<DataTemplate>
|
147 |
<Rectangle Fill="{StaticResource ActualBrush}" Margin="0 0 0 3" /> |
148 |
</DataTemplate>
|
149 |
</telerik:BarSeries.PointTemplate>
|
150 |
<telerik:BarSeries.LegendSettings>
|
151 |
<telerik:SeriesLegendSettings Title="Count" MarkerGeometry="{StaticResource SolidRectLegendGeometry}" /> |
152 |
</telerik:BarSeries.LegendSettings>
|
153 |
<telerik:BarSeries.LabelDefinitions>
|
154 |
<telerik:ChartSeriesLabelDefinition Binding="StringCount" DefaultVisualStyle="{StaticResource TextBlockCountryStyle}" HorizontalAlignment="Right" VerticalAlignment="Center"/> |
155 |
<telerik:ChartSeriesLabelDefinition Binding="ExceptionCount" DefaultVisualStyle="{StaticResource TextBlockCountryStyle_Exception}" HorizontalAlignment="Right" VerticalAlignment="Center"/> |
156 |
</telerik:BarSeries.LabelDefinitions>
|
157 |
</telerik:BarSeries>
|
158 |
|
159 |
|
160 |
<telerik:BarSeries CategoryBinding="Project_NO" |
161 |
ValueBinding="ExceptionCount" |
162 |
ItemsSource="{Binding ConvertCOUNTDashBoard}" |
163 |
CombineMode="None" |
164 |
ShowLabels="False" |
165 |
ClipToPlotArea="True" > |
166 |
<telerik:BarSeries.PointAnimation>
|
167 |
<telerik:ChartMoveAnimation Delay="0:0:0.125" Duration="0:0:1.55" MoveAnimationType="Left" > |
168 |
<telerik:ChartMoveAnimation.Easing>
|
169 |
<BounceEase EasingMode="EaseOut" Bounces="20" Bounciness="5" /> |
170 |
</telerik:ChartMoveAnimation.Easing>
|
171 |
</telerik:ChartMoveAnimation>
|
172 |
</telerik:BarSeries.PointAnimation>
|
173 |
<telerik:BarSeries.PointTemplate>
|
174 |
<DataTemplate>
|
175 |
<Rectangle Fill="{StaticResource TargetBrush}" Height="2" VerticalAlignment="Bottom" /> |
176 |
</DataTemplate>
|
177 |
</telerik:BarSeries.PointTemplate>
|
178 |
<telerik:BarSeries.LegendSettings>
|
179 |
<telerik:SeriesLegendSettings Title="ExceptionCount" MarkerGeometry="{StaticResource LineSeriesLegendGeometry}" /> |
180 |
</telerik:BarSeries.LegendSettings>
|
181 |
</telerik:BarSeries>
|
182 |
</telerik:RadCartesianChart.Series>
|
183 |
</telerik:RadCartesianChart>
|
184 |
<telerik:RadLegend Grid.Column="1" Grid.Row="0" Margin="24,4,0,0" MinWidth="76" Items="{Binding LegendItems, ElementName=chart}" /> |
185 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.ColumnSpan="2" |
186 |
ItemsSource="{Binding DashBoard_Convert}" |
187 |
SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}" |
188 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
189 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" |
190 |
ColumnWidth="*" |
191 |
Grid.Row="1" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True"> |
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="*" > |
196 |
<telerik:GridViewDataColumn.CellTemplate>
|
197 |
<DataTemplate>
|
198 |
<telerik:RadButton Content="Click" BorderThickness="0" |
199 |
Background="Transparent" |
200 |
Command="{Binding ConvertPDFMarkusLinkCommand, 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" Grid.ColumnSpan="2"> |
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" Grid.ColumnSpan="2" |
322 |
ItemsSource="{Binding DashBoard_FinalPDF}" |
323 |
SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}" |
324 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
325 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" |
326 |
ColumnWidth="*" |
327 |
Grid.Row="1" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True"> |
328 |
<telerik:RadGridView.Columns>
|
329 |
<telerik:GridViewToggleRowDetailsColumn /> |
330 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
331 |
<telerik:GridViewDataColumn Header="Markus " Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
332 |
<telerik:GridViewDataColumn.CellTemplate>
|
333 |
<DataTemplate>
|
334 |
<telerik:RadButton Content="Click" BorderThickness="0" |
335 |
Background="Transparent" |
336 |
Command="{Binding FinalPDFMarkusLinkCommand, Source={StaticResource DashBoardViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
337 |
</DataTemplate>
|
338 |
</telerik:GridViewDataColumn.CellTemplate>
|
339 |
</telerik:GridViewDataColumn>
|
340 |
<telerik:GridViewDataColumn Header="ProjectNO" |
341 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
342 |
<telerik:GridViewDataColumn Header="DocumentID" |
343 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
344 |
<telerik:GridViewDataColumn Header="Create UserID" |
345 |
DataMemberBinding="{Binding Create_User_ID}" Width="*" /> |
346 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
347 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
348 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
349 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
350 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
351 |
NavigateUrlFormatString=" {0}" |
352 |
NavigateUrlMemberPaths="OriginfilePath" |
353 |
Width="2*"> |
354 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
355 |
<DataTemplate>
|
356 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
357 |
</DataTemplate>
|
358 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
359 |
</telerik:GridViewDynamicHyperlinkColumn>
|
360 |
|
361 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
362 |
<telerik:GridViewDataColumn.CellTemplate>
|
363 |
<DataTemplate>
|
364 |
<Grid>
|
365 |
<telerik:RadButton Grid.Column="1" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" |
366 |
Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DashBoardViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
367 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
368 |
</telerik:RadButton>
|
369 |
</Grid>
|
370 |
</DataTemplate>
|
371 |
</telerik:GridViewDataColumn.CellTemplate>
|
372 |
</telerik:GridViewDataColumn>
|
373 |
<telerik:GridViewDataColumn Header="CreateTime" |
374 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
375 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
376 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
377 |
</telerik:RadGridView.Columns>
|
378 |
</telerik:RadGridView>
|
379 |
</Grid>
|
380 |
</Border>
|
381 |
</Grid>
|
382 |
</UserControl>
|