개정판 5feff9f0
마지막 정리
Change-Id: I7427bed974c03eaad1c7910df561e77c49b37529
ConvertService/ServiceBase/Markus.Service.StationController/Views/DataBaseView.xaml | ||
---|---|---|
84 | 84 |
<telerik:RadToggleButton Content=" 엑셀 저장 " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/> |
85 | 85 |
<!--<telerik:RadToggleButton Content=" Filter" Command="{Binding DataFilterCommand, Mode=OneWay}"/>--> |
86 | 86 |
</StackPanel> |
87 |
<Grid HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" > |
|
88 |
<Grid.ColumnDefinitions> |
|
89 |
<ColumnDefinition Width="387*"/> |
|
90 |
<ColumnDefinition Width="13*"/> |
|
91 |
</Grid.ColumnDefinitions> |
|
87 |
<Grid HorizontalAlignment="Left" Grid.Row="1" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" > |
|
92 | 88 |
<Grid.RowDefinitions> |
93 |
<RowDefinition/> |
|
89 |
<RowDefinition Height="Auto"/> |
|
90 |
<RowDefinition Height="Auto"/> |
|
94 | 91 |
</Grid.RowDefinitions> |
95 |
<StackPanel Orientation="Vertical" MaxHeight="850" Grid.Row="0"> |
|
96 |
<StackPanel Orientation="Vertical"> |
|
97 |
<controls:DatabaseFilter ProjectNo="{Binding ProjectNumberFilter,Mode=TwoWay}" UniqueKey="{Binding UniqueKeyFilter,Mode=TwoWay}" Service_ID="{Binding Service_IDFilter, Mode=TwoWay}" |
|
92 |
<StackPanel Orientation="Vertical"> |
|
93 |
<controls:DatabaseFilter ProjectNo="{Binding ProjectNumberFilter,Mode=TwoWay}" UniqueKey="{Binding UniqueKeyFilter,Mode=TwoWay}" Service_ID="{Binding Service_IDFilter, Mode=TwoWay}" |
|
98 | 94 |
Docuemnt_Name="{Binding Document_NameFilter, Mode=TwoWay}" Docuemnt_NO="{Binding Docuemnt_NOFilter, Mode=TwoWay}" Reconverter="{Binding ReconverterFilter, Mode=TwoWay}" |
99 | 95 |
Revision="{Binding RevisionFilter, Mode=TwoWay}" GroupNO="{Binding GroupNOFilter, Mode=TwoWay}"/> |
100 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> |
|
101 |
<telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
|
102 |
<telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
|
103 |
<telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
|
104 |
</StackPanel> |
|
96 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> |
|
97 |
<telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
|
98 |
<telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
|
99 |
<telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
|
105 | 100 |
</StackPanel> |
106 |
|
|
107 |
<DockPanel LastChildFill="True"> |
|
108 |
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" Grid.Row="1" MaxHeight="{Binding DataBase_ItemsHeight, Mode=OneWay}" |
|
109 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" IsExpanded="True" HorizontalAlignment="Stretch" |
|
110 |
VerticalAlignment="Stretch" |
|
101 |
</StackPanel> |
|
102 |
<Grid Grid.Row="1"> |
|
103 |
<Grid.RowDefinitions> |
|
104 |
<RowDefinition Height="Auto"/> |
|
105 |
<RowDefinition Height="Auto"/> |
|
106 |
<RowDefinition Height="Auto"/> |
|
107 |
</Grid.RowDefinitions> |
|
108 |
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" MaxHeight="{Binding DataBase_ItemsHeight, Mode=OneWay}" |
|
109 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" IsExpanded="True" |
|
111 | 110 |
telerik:AnimationManager.IsAnimationEnabled="False" > |
112 |
<telerik:RadExpander.Header>
|
|
113 |
<Grid>
|
|
114 |
<Grid.ColumnDefinitions>
|
|
115 |
<ColumnDefinition Width="Auto"/>
|
|
116 |
<ColumnDefinition Width="Auto"/>
|
|
117 |
</Grid.ColumnDefinitions>
|
|
118 |
<TextBlock Text="DataBase Items : "/>
|
|
119 |
<TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
|
|
120 |
</Grid>
|
|
121 |
</telerik:RadExpander.Header>
|
|
122 |
|
|
123 |
<telerik:RadGridView x:Name="dataGrid1" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
|
111 |
<telerik:RadExpander.Header> |
|
112 |
<Grid> |
|
113 |
<Grid.ColumnDefinitions> |
|
114 |
<ColumnDefinition Width="Auto"/> |
|
115 |
<ColumnDefinition Width="Auto"/> |
|
116 |
</Grid.ColumnDefinitions> |
|
117 |
<TextBlock Text="DataBase Items : "/> |
|
118 |
<TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/> |
|
119 |
</Grid> |
|
120 |
</telerik:RadExpander.Header> |
|
121 |
|
|
122 |
<telerik:RadGridView x:Name="dataGrid1" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
|
124 | 123 |
ItemsSource="{Binding FilterConvertSourceView}" |
125 | 124 |
SelectedItem="{Binding SelectFilterConvert, Mode=TwoWay}" |
126 | 125 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
... | ... | |
129 | 128 |
Grid.Row="1" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
130 | 129 |
LeftFrozenColumnCount="6" |
131 | 130 |
RightFrozenColumnCount="0"> |
132 |
<telerik:RadContextMenu.ContextMenu>
|
|
133 |
<telerik:RadContextMenu x:Name= "GridContextMenu">
|
|
134 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/>
|
|
135 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/>
|
|
136 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/>
|
|
137 |
</telerik:RadContextMenu>
|
|
138 |
</telerik:RadContextMenu.ContextMenu>
|
|
139 |
<telerik:RadGridView.Columns>
|
|
140 |
<telerik:GridViewToggleRowDetailsColumn />
|
|
141 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
|
|
142 |
<telerik:GridViewDataColumn Header="Convert ID "
|
|
131 |
<telerik:RadContextMenu.ContextMenu> |
|
132 |
<telerik:RadContextMenu x:Name= "GridContextMenu"> |
|
133 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
|
134 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
|
135 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
|
136 |
</telerik:RadContextMenu> |
|
137 |
</telerik:RadContextMenu.ContextMenu> |
|
138 |
<telerik:RadGridView.Columns> |
|
139 |
<telerik:GridViewToggleRowDetailsColumn /> |
|
140 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
|
141 |
<telerik:GridViewDataColumn Header="Convert ID " |
|
143 | 142 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
144 |
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
|
|
145 |
<telerik:GridViewDataColumn.CellTemplate>
|
|
146 |
<DataTemplate>
|
|
147 |
<telerik:RadButton Content="Click" BorderThickness="0"
|
|
143 |
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
|
144 |
<telerik:GridViewDataColumn.CellTemplate> |
|
145 |
<DataTemplate> |
|
146 |
<telerik:RadButton Content="Click" BorderThickness="0" |
|
148 | 147 |
Background="Transparent" |
149 | 148 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
150 |
</DataTemplate>
|
|
151 |
</telerik:GridViewDataColumn.CellTemplate>
|
|
152 |
</telerik:GridViewDataColumn>
|
|
153 |
<telerik:GridViewDataColumn Header="ProjectNO"
|
|
149 |
</DataTemplate> |
|
150 |
</telerik:GridViewDataColumn.CellTemplate> |
|
151 |
</telerik:GridViewDataColumn> |
|
152 |
<telerik:GridViewDataColumn Header="ProjectNO" |
|
154 | 153 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
155 |
<telerik:GridViewDataColumn Header="UniqueKey"
|
|
154 |
<telerik:GridViewDataColumn Header="UniqueKey" |
|
156 | 155 |
DataMemberBinding="{Binding UniqueKey}" Width="*" /> |
157 |
<telerik:GridViewDataColumn Header="ConvertState"
|
|
156 |
<telerik:GridViewDataColumn Header="ConvertState" |
|
158 | 157 |
DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" /> |
159 |
<telerik:GridViewDataColumn Header="CurrentPageNo"
|
|
158 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
|
160 | 159 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
161 |
<telerik:GridViewDataColumn Header="TotalPageNo"
|
|
160 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
|
162 | 161 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
163 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
|
|
162 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" |
|
164 | 163 |
NavigateUrlFormatString=" {0}" |
165 | 164 |
NavigateUrlMemberPaths="OriginfilePath" |
166 | 165 |
Width="2*"> |
167 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
|
168 |
<DataTemplate>
|
|
169 |
<TextBlock Text="{Binding FileName}"/>
|
|
170 |
</DataTemplate>
|
|
171 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
|
172 |
</telerik:GridViewDynamicHyperlinkColumn>
|
|
173 |
<telerik:GridViewDataColumn Header=" ConvertPath"
|
|
166 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate> |
|
167 |
<DataTemplate> |
|
168 |
<TextBlock Text="{Binding FileName}"/> |
|
169 |
</DataTemplate> |
|
170 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate> |
|
171 |
</telerik:GridViewDynamicHyperlinkColumn> |
|
172 |
<telerik:GridViewDataColumn Header=" ConvertPath" |
|
174 | 173 |
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" /> |
175 |
<telerik:GridViewDataColumn Header="CreateTime"
|
|
174 |
<telerik:GridViewDataColumn Header="CreateTime" |
|
176 | 175 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
177 |
<telerik:GridViewDataColumn Header="StartTime"
|
|
176 |
<telerik:GridViewDataColumn Header="StartTime" |
|
178 | 177 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
179 |
<telerik:GridViewDataColumn Header="EndTime"
|
|
178 |
<telerik:GridViewDataColumn Header="EndTime" |
|
180 | 179 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
181 |
</telerik:RadGridView.Columns> |
|
182 |
</telerik:RadGridView> |
|
183 |
</telerik:RadExpander> |
|
184 |
</DockPanel> |
|
185 |
|
|
186 |
<telerik:RadExpander Grid.Row="2" ExpandDirection="Down" BorderThickness="0" MaxHeight="{Binding RealConvert_Height,Mode=OneWay}" |
|
180 |
</telerik:RadGridView.Columns> |
|
181 |
</telerik:RadGridView> |
|
182 |
</telerik:RadExpander> |
|
183 |
<telerik:RadExpander Grid.Row="1" ExpandDirection="Down" BorderThickness="0" MaxHeight="{Binding RealConvert_Height,Mode=OneWay}" |
|
187 | 184 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" HorizontalAlignment="Stretch" |
188 | 185 |
VerticalAlignment="Stretch" |
189 | 186 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}"> |
... | ... | |
259 | 256 |
</telerik:RadGridView.Columns> |
260 | 257 |
</telerik:RadGridView> |
261 | 258 |
</telerik:RadExpander> |
262 |
|
|
263 |
<telerik:RadExpander Grid.Row="3" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch" |
|
259 |
<telerik:RadExpander Grid.Row="2" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch" |
|
264 | 260 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" MaxHeight="{Binding Alive_Height,Mode=OneWay}" |
265 | 261 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="False"> |
266 | 262 |
<telerik:RadExpander.Header> |
... | ... | |
331 | 327 |
</telerik:RadGridView> |
332 | 328 |
</telerik:RadExpander> |
333 | 329 |
|
334 |
</StackPanel>
|
|
330 |
</Grid>
|
|
335 | 331 |
</Grid> |
336 | 332 |
</Grid> |
337 | 333 |
</UserControl> |
내보내기 Unified diff