markus / KCOM / Controls / test.xaml @ b1c2c6fe
이력 | 보기 | 이력해설 | 다운로드 (5.94 KB)
1 |
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="KCOM.Controls.test" |
---|---|
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 |
xmlns:local="clr-namespace:KCOM.Controls" |
7 |
mc:Ignorable="d" |
8 |
Height="371" Width ="2000"> |
9 |
<Grid x:Name="LayoutRoot" Background="White"> |
10 |
|
11 |
|
12 |
<Grid.RowDefinitions>
|
13 |
<RowDefinition Height="80" /> |
14 |
<RowDefinition Height="*"/> |
15 |
<RowDefinition Height="80"/> |
16 |
</Grid.RowDefinitions>
|
17 |
<Grid.ColumnDefinitions>
|
18 |
<ColumnDefinition Width="1100"/> |
19 |
<ColumnDefinition Width="50"/> |
20 |
<ColumnDefinition Width="500"/> |
21 |
</Grid.ColumnDefinitions>
|
22 |
<Grid Background="White" Grid.Row="0" Grid.Column="0"> |
23 |
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="25"><Bold> My CHECK LIST</Bold></TextBlock> |
24 |
</Grid>
|
25 |
<Grid Grid.Row="1" Grid.Column="0"> |
26 |
<telerik:RadGridView x:Name="tb" telerik:StyleManager.Theme="Office2016" IsFilteringAllowed="False" ScrollViewer.VerticalScrollBarVisibility="Auto" CellLoaded="tb_CellLoaded" |
27 |
AutoGenerateColumns="False" ShowGroupPanel="False" Loaded="RadGridView_Loaded" ShowGroupFooters="False" |
28 |
CanUserDeleteRows="True" CanUserInsertRows="False" EditTriggers="TextInput" BorderThickness="1"> |
29 |
|
30 |
<telerik:RadGridView.Columns>
|
31 |
<telerik:GridViewDataColumn Width="50" IsReadOnly="True" HeaderTextAlignment="Center" DataMemberBinding="{Binding CK_NO}" TextAlignment="Center" Header="No" /> |
32 |
<telerik:GridViewDataColumn Width="80" IsReadOnly="True" HeaderTextAlignment="Center" DataMemberBinding="{Binding CK_REV_NO}" TextAlignment="Center" Header="Rev. No" /> |
33 |
<telerik:GridViewDataColumn Width="60" IsReadOnly="True" HeaderTextAlignment="Center" DataMemberBinding="{Binding CK_PAGE}" TextAlignment="Center" Header="Page" /> |
34 |
<telerik:GridViewDataColumn Width="150" IsReadOnly="True" HeaderTextAlignment="Center" DataMemberBinding="{Binding CK_COMMENT}" TextAlignment="Center" Header="VP Comment image (to Vendor)" /> |
35 |
<telerik:GridViewDataColumn Width="*" IsReadOnly="True" HeaderTextAlignment="Center" DataMemberBinding="{Binding CK_TODO}" Header="To Do List"/> |
36 |
<telerik:GridViewDataColumn Width="100" IsReadOnly="True" HeaderTextAlignment="Center" DataMemberBinding="{Binding CK_STATUS}" TextAlignment="Center" Name="Status" Header="Status" /> |
37 |
<telerik:GridViewDataColumn Width="120" IsReadOnly="True" HeaderTextAlignment="Center" DataMemberBinding="{Binding CK_RESULT}" TextAlignment="Center" Header="Result / History"/> |
38 |
<telerik:GridViewHyperlinkColumn Width="120" HeaderTextAlignment="Center" Header="Ch" ></telerik:GridViewHyperlinkColumn> |
39 |
<telerik:GridViewDataColumn Header="Check"> |
40 |
<telerik:GridViewDataColumn.CellTemplate>
|
41 |
<DataTemplate>
|
42 |
<TextBlock HorizontalAlignment="Center" Text="☞" FontSize="13" TextDecorations="Underline" MouseLeftButtonUp="TextBlock_MouseLeftButtonUp"> |
43 |
</TextBlock>
|
44 |
</DataTemplate>
|
45 |
</telerik:GridViewDataColumn.CellTemplate>
|
46 |
</telerik:GridViewDataColumn>
|
47 |
</telerik:RadGridView.Columns>
|
48 |
</telerik:RadGridView>
|
49 |
</Grid>
|
50 |
<Grid Grid.Row="1" Grid.Column="1"> |
51 |
|
52 |
</Grid>
|
53 |
|
54 |
<Grid Background="White" Grid.Row="0" Grid.Column="2" x:Name="grid1" Visibility="Collapsed"> |
55 |
<TextBlock VerticalAlignment="Bottom" HorizontalAlignment="Left" FontSize="18"><Bold> Comment Overall Histroy</Bold></TextBlock> |
56 |
</Grid>
|
57 |
|
58 |
<Grid Grid.Row="1" Grid.Column="2" x:Name="grid2" Visibility="Collapsed"> |
59 |
|
60 |
|
61 |
<telerik:RadGridView x:Name="tb1" telerik:StyleManager.Theme="Office2016" IsFilteringAllowed="False" ScrollViewer.VerticalScrollBarVisibility="Auto" CellLoaded="tb_CellLoaded" |
62 |
AutoGenerateColumns="False" ShowGroupPanel="False" Loaded="RadGridView_Loaded" ShowGroupFooters="False" |
63 |
CanUserDeleteRows="True" CanUserInsertRows="False" EditTriggers="TextInput" BorderThickness="1" > |
64 |
|
65 |
<telerik:RadGridView.Columns>
|
66 |
<telerik:GridViewDataColumn Width="*" IsReadOnly="True" HeaderTextAlignment="Center" TextAlignment="Center" Header="Rev. 4" /> |
67 |
<telerik:GridViewDataColumn Width="*" IsReadOnly="True" HeaderTextAlignment="Center" TextAlignment="Center" Header="Rev. 3" /> |
68 |
<telerik:GridViewDataColumn Width="*" IsReadOnly="True" HeaderTextAlignment="Center" TextAlignment="Center" Header="Rev. 2" /> |
69 |
<telerik:GridViewDataColumn Width="*" IsReadOnly="True" HeaderTextAlignment="Center" TextAlignment="Center" Header="Rev. 1" /> |
70 |
<telerik:GridViewDataColumn Width="*" IsReadOnly="True" HeaderTextAlignment="Center" TextAlignment="Center" Header="Rev. 0" /> |
71 |
</telerik:RadGridView.Columns>
|
72 |
</telerik:RadGridView>
|
73 |
</Grid>
|
74 |
<Grid Grid.Row="3"> |
75 |
<telerik:RadButton Width="100" Height="30" VerticalAlignment="Bottom" HorizontalAlignment="Right" Click="CampareEvent" Margin="0,0,115,0">Compare</telerik:RadButton> |
76 |
<telerik:RadButton Width="100" Height="30" VerticalAlignment="Bottom" HorizontalAlignment="Right" Click="ExportEvent">Excel</telerik:RadButton> |
77 |
</Grid>
|
78 |
|
79 |
|
80 |
</Grid>
|
81 |
</UserControl>
|