개정판 b63dcfbb
markusEntities 추가
Change-Id: Iac863d0665e1d7e6ef8ceb0f709348cfb30966a2
ConvertService/ServiceBase/Markus.Service.StationController/Views/DataBaseView.xaml | ||
---|---|---|
9 | 9 |
xmlns:Data="clr-namespace:Markus.Service.StationController.Data" |
10 | 10 |
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
11 | 11 |
xmlns:local="clr-namespace:Markus.Service.StationController.Views" x:Class="Markus.Service.StationController.Views.DataBaseView" |
12 |
mc:Ignorable="d" Background="White" DataContext="{DynamicResource DataBaseItemsModel}" |
|
13 |
d:DesignHeight="450" d:DesignWidth="800">
|
|
12 |
mc:Ignorable="d" Background="White" DataContext="{DynamicResource DataBaseItemsModel}"
|
|
13 |
d:DesignHeight="450" d:DesignWidth="800"> |
|
14 | 14 |
<UserControl.Resources> |
15 | 15 |
<Style TargetType="telerik:GridViewCell" x:Key="StretchCellStyle"> |
16 | 16 |
<Setter Property="Margin" Value="0"/> |
... | ... | |
32 | 32 |
<DataTemplate x:Key="RowDetailsTemplate"> |
33 | 33 |
<local:DataBaseViewInfo /> |
34 | 34 |
</DataTemplate> |
35 |
<DataTemplate x:Key="DatabaseFilter"> |
|
36 |
<local:DatabaseFilter /> |
|
37 |
</DataTemplate> |
|
38 | 35 |
</UserControl.Resources> |
39 | 36 |
<!--<UserControl.DataContext> |
40 | 37 |
<VM:DataBaseItemsModel/> |
... | ... | |
60 | 57 |
<telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4" |
61 | 58 |
DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/> |
62 | 59 |
<telerik:RadToggleButton Content=" 엑셀 저장 " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/> |
60 |
<!--<telerik:RadToggleButton Content=" Filter" Command="{Binding DataFilterCommand, Mode=OneWay}"/>--> |
|
63 | 61 |
</StackPanel> |
64 | 62 |
<Grid HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" > |
63 |
<Grid.ColumnDefinitions> |
|
64 |
<ColumnDefinition Width="387*"/> |
|
65 |
<ColumnDefinition Width="13*"/> |
|
66 |
</Grid.ColumnDefinitions> |
|
65 | 67 |
<Grid.RowDefinitions> |
66 | 68 |
<RowDefinition Height="*"/> |
67 | 69 |
<RowDefinition Height="*" /> |
68 | 70 |
<RowDefinition Height="Auto"/> |
69 | 71 |
<RowDefinition Height="Auto"/> |
70 | 72 |
</Grid.RowDefinitions> |
71 |
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" MaxHeight="700" Grid.Row="0" |
|
72 |
IsExpanded="True" |
|
73 |
telerik:AnimationManager.IsAnimationEnabled="False"> |
|
74 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
|
75 |
RowDetailsTemplate="{StaticResource DatabaseFilter}" |
|
76 |
AutoGenerateColumns="False" CanUserFreezeColumns="True" |
|
77 |
ColumnWidth="*" RowDetailsVisibilityMode="VisibleWhenSelected" |
|
78 |
Grid.Row="1" > |
|
79 |
<telerik:RadGridView.Columns> |
|
80 |
<telerik:GridViewDataColumn Header="필터 검색원하시면 아래를 클릭하세요!"> |
|
81 |
<telerik:GridViewColumn.CellTemplate> |
|
82 |
<DataTemplate> |
|
83 |
<TextBlock Text="Click" VerticalAlignment="Center" /> |
|
84 |
</DataTemplate> |
|
85 |
</telerik:GridViewColumn.CellTemplate> |
|
86 |
</telerik:GridViewDataColumn> |
|
87 |
</telerik:RadGridView.Columns> |
|
88 |
</telerik:RadGridView> |
|
73 |
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" Grid.Row="0" IsExpanded="False" telerik:AnimationManager.IsAnimationEnabled="False"> |
|
74 |
<StackPanel Orientation="Vertical"> |
|
75 |
<controls:DatabaseFilter ProjectNo="{Binding ProjectNumberFilter,Mode=TwoWay}" UniqueKey="{Binding UniqueKeyFilter,Mode=TwoWay}" Service_ID="{Binding Service_IDFilter, Mode=TwoWay}" |
|
76 |
Docuemnt_Name="{Binding Docuemnt_NameFilter, Mode=TwoWay}" Docuemnt_NO="{Binding Docuemnt_NOFilter, Mode=TwoWay}" Reconverter="{Binding ReconverterFilter, Mode=TwoWay}" |
|
77 |
Revision="{Binding RevisionFilter, Mode=TwoWay}" HorizontalAlignment="Stretch"/> |
|
78 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> |
|
79 |
<telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
|
80 |
<telerik:RadToggleButton Content=" 원상복귀" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
|
81 |
</StackPanel> |
|
82 |
</StackPanel> |
|
89 | 83 |
</telerik:RadExpander> |
90 |
|
|
84 |
|
|
91 | 85 |
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" MaxHeight="700" Grid.Row="1" |
92 | 86 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" IsExpanded="True" |
93 |
telerik:AnimationManager.IsAnimationEnabled="False"> |
|
87 |
telerik:AnimationManager.IsAnimationEnabled="False" Margin="0,0,0,17"> |
|
88 |
|
|
94 | 89 |
<telerik:RadExpander.Header> |
95 | 90 |
<Grid> |
96 | 91 |
<Grid.ColumnDefinitions> |
... | ... | |
98 | 93 |
<ColumnDefinition Width="Auto"/> |
99 | 94 |
</Grid.ColumnDefinitions> |
100 | 95 |
<TextBlock Text="DataBase Items : "/> |
101 |
<TextBlock Text="{Binding SelectedCount.ValueMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
|
|
96 |
<TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
|
|
102 | 97 |
</Grid> |
103 | 98 |
</telerik:RadExpander.Header> |
104 | 99 |
<!--ItemsSource="{Binding FilterConvertSource}" --> |
... | ... | |
162 | 157 |
</telerik:RadGridView.Columns> |
163 | 158 |
</telerik:RadGridView> |
164 | 159 |
</telerik:RadExpander> |
160 |
|
|
165 | 161 |
<telerik:RadExpander Grid.Row="2" ExpandDirection="Down" BorderThickness="0" |
166 | 162 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
167 | 163 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}"> |
... | ... | |
236 | 232 |
</telerik:RadGridView.Columns> |
237 | 233 |
</telerik:RadGridView> |
238 | 234 |
</telerik:RadExpander> |
239 |
<telerik:RadExpander Grid.Row="3" ExpandDirection="Down" Margin="3" BorderThickness="0" VerticalAlignment="Stretch" |
|
235 |
|
|
236 |
|
|
237 |
|
|
238 |
<telerik:RadExpander Grid.Row="3" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch" |
|
240 | 239 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
241 |
telerik:AnimationManager.IsAnimationEnabled="False"> |
|
240 |
telerik:AnimationManager.IsAnimationEnabled="False" >
|
|
242 | 241 |
<telerik:RadExpander.Header> |
243 | 242 |
<Grid> |
244 | 243 |
<Grid.RowDefinitions> |
내보내기 Unified diff