|
57 | 57 | </Button>
|
58 | 58 | </Grid>
|
59 | 59 | </StackPanel>
|
60 |
| - <StackPanel Margin="26,12,26,0"> |
61 |
| - <StackPanel Grid.Row="1" Margin="0,0,0,12"> |
| 60 | + <StackPanel Margin="26 12 26 0"> |
| 61 | + <StackPanel Grid.Row="1" Margin="0 0 0 12"> |
62 | 62 | <TextBlock
|
63 | 63 | Grid.Column="0"
|
64 |
| - Margin="0,0,0,0" |
| 64 | + Margin="0 0 0 0" |
65 | 65 | FontSize="20"
|
66 | 66 | FontWeight="SemiBold"
|
67 | 67 | Text="{DynamicResource fileManagerWindow}"
|
|
73 | 73 | Text="{DynamicResource fileManager_tips}"
|
74 | 74 | TextAlignment="Left"
|
75 | 75 | TextWrapping="WrapWithOverflow" />
|
76 |
| - <TextBlock Margin="0,14,0,0" FontSize="14"> |
| 76 | + <TextBlock Margin="0 14 0 0" FontSize="14"> |
77 | 77 | <TextBlock Text="{DynamicResource fileManager_tips2}" TextWrapping="WrapWithOverflow" />
|
78 | 78 | </TextBlock>
|
79 | 79 | </StackPanel>
|
80 | 80 |
|
81 |
| - <StackPanel Margin="14,28,0,0" Orientation="Horizontal"> |
| 81 | + <StackPanel Margin="14 28 0 0" Orientation="Horizontal"> |
82 | 82 | <TextBlock
|
83 | 83 | Grid.Column="1"
|
84 | 84 | HorizontalAlignment="Left"
|
|
89 | 89 | Name="comboBox"
|
90 | 90 | Width="200"
|
91 | 91 | Height="35"
|
92 |
| - Margin="14,0,0,0" |
| 92 | + Margin="14 0 0 0" |
93 | 93 | HorizontalAlignment="Left"
|
94 | 94 | VerticalAlignment="Center"
|
95 | 95 | ItemsSource="{Binding CustomExplorers}"
|
|
101 | 101 | </ComboBox.ItemTemplate>
|
102 | 102 | </ComboBox>
|
103 | 103 | <Button
|
104 |
| - Margin="10,0,0,0" |
| 104 | + Margin="10 0 0 0" |
105 | 105 | Click="btnAdd_Click"
|
106 | 106 | Content="{DynamicResource add}" />
|
107 | 107 | <Button
|
108 |
| - Margin="10,0,0,0" |
| 108 | + Margin="10 0 0 0" |
109 | 109 | Click="btnDelete_Click"
|
110 | 110 | Content="{DynamicResource delete}"
|
111 | 111 | IsEnabled="{Binding CustomExplorer.Editable}" />
|
112 | 112 |
|
113 | 113 | </StackPanel>
|
114 | 114 | <Rectangle
|
115 | 115 | Height="1"
|
116 |
| - Margin="0,20,0,12" |
| 116 | + Margin="0 20 0 12" |
117 | 117 | Fill="{StaticResource Color03B}" />
|
118 | 118 | <StackPanel
|
119 |
| - Margin="0,0,0,0" |
| 119 | + Margin="0 0 0 0" |
120 | 120 | HorizontalAlignment="Stretch"
|
121 | 121 | DataContext="{Binding CustomExplorer}"
|
122 | 122 | Orientation="Horizontal">
|
|
134 | 134 | <TextBlock
|
135 | 135 | Grid.Row="0"
|
136 | 136 | Grid.Column="0"
|
137 |
| - Margin="14,5,20,0" |
| 137 | + Margin="14 5 20 0" |
138 | 138 | HorizontalAlignment="Left"
|
139 | 139 | VerticalAlignment="Center"
|
140 | 140 | FontSize="14"
|
|
144 | 144 | Grid.Row="0"
|
145 | 145 | Grid.Column="1"
|
146 | 146 | Width="Auto"
|
147 |
| - Margin="10,5,15,0" |
| 147 | + Margin="10 5 15 0" |
148 | 148 | HorizontalAlignment="Stretch"
|
149 | 149 | VerticalAlignment="Center"
|
150 | 150 | IsEnabled="{Binding Editable}"
|
151 | 151 | Text="{Binding Name}" />
|
152 | 152 | <TextBlock
|
153 | 153 | Grid.Row="1"
|
154 | 154 | Grid.Column="0"
|
155 |
| - Margin="14,10,20,0" |
| 155 | + Margin="14 10 20 0" |
156 | 156 | HorizontalAlignment="Left"
|
157 | 157 | VerticalAlignment="Center"
|
158 | 158 | FontSize="14"
|
159 | 159 | Text="{DynamicResource fileManager_path}" />
|
160 | 160 | <DockPanel Grid.Row="1" Grid.Column="1">
|
161 | 161 | <Button
|
162 | 162 | Name="btnBrowseFile"
|
163 |
| - Margin="0,10,15,0" |
| 163 | + Margin="0 10 15 0" |
164 | 164 | HorizontalAlignment="Right"
|
165 | 165 | VerticalAlignment="Center"
|
166 | 166 | Click="btnBrowseFile_Click"
|
|
178 | 178 | </Button>
|
179 | 179 | <TextBox
|
180 | 180 | x:Name="PathTextBox"
|
181 |
| - Margin="10,10,10,0" |
| 181 | + Margin="10 10 10 0" |
182 | 182 | HorizontalAlignment="Stretch"
|
183 | 183 | VerticalAlignment="Center"
|
184 | 184 | IsEnabled="{Binding Editable}"
|
|
187 | 187 | <TextBlock
|
188 | 188 | Grid.Row="2"
|
189 | 189 | Grid.Column="0"
|
190 |
| - Margin="14,10,20,0" |
| 190 | + Margin="14 10 20 0" |
191 | 191 | HorizontalAlignment="Left"
|
192 | 192 | VerticalAlignment="Center"
|
193 | 193 | FontSize="14"
|
|
198 | 198 | Grid.Row="2"
|
199 | 199 | Grid.Column="1"
|
200 | 200 | Width="Auto"
|
201 |
| - Margin="10,10,15,0" |
| 201 | + Margin="10 10 15 0" |
202 | 202 | HorizontalAlignment="Stretch"
|
203 | 203 | VerticalAlignment="Center"
|
204 | 204 | IsEnabled="{Binding Editable}"
|
205 | 205 | Text="{Binding DirectoryArgument}" />
|
206 | 206 | <TextBlock
|
207 | 207 | Grid.Row="3"
|
208 | 208 | Grid.Column="0"
|
209 |
| - Margin="14,10,20,20" |
| 209 | + Margin="14 10 20 20" |
210 | 210 | HorizontalAlignment="Left"
|
211 | 211 | VerticalAlignment="Center"
|
212 | 212 | FontSize="14"
|
|
217 | 217 | Grid.Row="3"
|
218 | 218 | Grid.Column="1"
|
219 | 219 | Width="Auto"
|
220 |
| - Margin="10,10,15,20" |
| 220 | + Margin="10 10 15 20" |
221 | 221 | HorizontalAlignment="Stretch"
|
222 | 222 | VerticalAlignment="Center"
|
223 | 223 | IsEnabled="{Binding Editable}"
|
|
232 | 232 | Grid.Row="2"
|
233 | 233 | Background="{DynamicResource PopupButtonAreaBGColor}"
|
234 | 234 | BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
235 |
| - BorderThickness="0,1,0,0"> |
| 235 | + BorderThickness="0 1 0 0"> |
236 | 236 | <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
237 | 237 | <Button
|
238 | 238 | x:Name="btnCancel"
|
239 | 239 | Width="145"
|
240 |
| - Margin="0,0,5,0" |
| 240 | + Margin="0 0 5 0" |
241 | 241 | Click="btnCancel_Click"
|
242 | 242 | Content="{DynamicResource cancel}" />
|
243 | 243 | <Button
|
244 | 244 | x:Name="btnDone"
|
245 | 245 | Width="145"
|
246 |
| - Margin="5,0,0,0" |
| 246 | + Margin="5 0 0 0" |
247 | 247 | Click="btnDone_Click"
|
248 | 248 | Content="{DynamicResource done}"
|
249 | 249 | ForceCursor="True">
|
|
256 | 256 | <DataTrigger Binding="{Binding Text.Length, ElementName=PathTextBox, UpdateSourceTrigger=PropertyChanged}" Value="0">
|
257 | 257 | <Setter Property="IsEnabled" Value="False" />
|
258 | 258 | </DataTrigger>
|
259 |
| - <DataTrigger Binding="{Binding Text.Length, ElementName=directoryArgTextBox, UpdateSourceTrigger=PropertyChanged}" Value="0"> |
260 |
| - <Setter Property="IsEnabled" Value="False" /> |
261 |
| - </DataTrigger> |
262 |
| - <DataTrigger Binding="{Binding Text.Length, ElementName=fileArgTextBox, UpdateSourceTrigger=PropertyChanged}" Value="0"> |
263 |
| - <Setter Property="IsEnabled" Value="False" /> |
264 |
| - </DataTrigger> |
265 | 259 | </Style.Triggers>
|
266 | 260 | </Style>
|
267 | 261 | </Button.Style>
|
|
0 commit comments