|
78 | 78 | Foreground="{StaticResource ErrorBrush}" |
79 | 79 | Text="Must select either an audit or an error instance." /> |
80 | 80 |
|
81 | | - <CheckBox Padding="0, -10, 0, 0" IsChecked="{Binding InstallErrorInstance}"> |
82 | | - <StackPanel> |
83 | | - <Expander Header="ServiceControl" IsExpanded="{Binding IsServiceControlExpanded}" Margin="0,5,0,5" MouseDown="Button_MouseDown" PreviewMouseDown="Button_MouseDown" PreviewMouseLeftButtonDown="Button_MouseDown"> |
84 | | - <StackPanel Margin="60,0,60,0"> |
| 81 | + <StackPanel> |
| 82 | + <!-- Horizontal layout: CheckBox + Expander side by side --> |
| 83 | + <Grid> |
| 84 | + <Grid.ColumnDefinitions> |
| 85 | + <ColumnDefinition Width="Auto"/> |
| 86 | + <ColumnDefinition Width="*"/> |
| 87 | + </Grid.ColumnDefinitions> |
| 88 | + |
| 89 | + <CheckBox Grid.Column="0" |
| 90 | + Padding="0, 0, 0, 0" |
| 91 | + IsChecked="{Binding InstallErrorInstance}" |
| 92 | + VerticalAlignment="Top" |
| 93 | + Margin="0,8,8,5"/> |
| 94 | + |
| 95 | + <Expander Grid.Column="1" |
| 96 | + Header="ServiceControl" |
| 97 | + IsExpanded="{Binding IsServiceControlExpanded}" |
| 98 | + IsEnabled="{Binding InstallErrorInstance}" |
| 99 | + Margin="0,5,0,5" |
| 100 | + MouseDown="Button_MouseDown" |
| 101 | + PreviewMouseDown="Button_MouseDown" |
| 102 | + PreviewMouseLeftButtonDown="Button_MouseDown"> |
| 103 | + <StackPanel Margin="60,0,60,0" Visibility="{Binding InstallErrorInstance, Converter={StaticResource boolToVis}}"> |
85 | 104 | <Border Margin="0,40,0,20" |
86 | 105 | BorderBrush="{StaticResource Gray70Brush}" |
87 | 106 | BorderThickness="0,0,0,1"> |
|
120 | 139 | Text="{Binding ErrorPassword}" |
121 | 140 | Visibility="{Binding ErrorPasswordEnabled, |
122 | 141 | Converter={StaticResource boolToVis}}" /> |
123 | | - <TextBlock Grid.Row="2" |
| 142 | + <TextBlock Grid.Row="2" |
124 | 143 | Text="No password is required for an AD Group Managed Service Account" |
125 | 144 | Visibility="{Binding ErrorManagedAccount, |
126 | 145 | Converter={StaticResource boolToVis}}" /> |
|
237 | 256 | SelectedValue="{Binding ErrorEnableFullTextSearchOnBodies}" /> |
238 | 257 | </StackPanel> |
239 | 258 | </Expander> |
240 | | - </StackPanel> |
241 | | - </CheckBox> |
| 259 | + </Grid> |
| 260 | + </StackPanel> |
242 | 261 |
|
243 | | - <CheckBox Padding="0, -10, 0, 0" IsChecked="{Binding InstallAuditInstance}" IsThreeState="False"> |
244 | | - <Expander Header="ServiceControl Audit" IsExpanded="{Binding IsServiceControlAuditExpanded}" Margin="0,5,0,5" MouseDown="Button_MouseDown" PreviewMouseDown="Button_MouseDown" PreviewMouseLeftButtonDown="Button_MouseDown"> |
245 | | - <StackPanel Margin="60,0,60,0"> |
246 | | - <Border Margin="0,40,0,20" |
| 262 | + <StackPanel> |
| 263 | + <!-- Horizontal layout: CheckBox + Expander side by side --> |
| 264 | + <Grid> |
| 265 | + <Grid.ColumnDefinitions> |
| 266 | + <ColumnDefinition Width="Auto"/> |
| 267 | + <ColumnDefinition Width="*"/> |
| 268 | + </Grid.ColumnDefinitions> |
| 269 | + |
| 270 | + <CheckBox Grid.Column="0" |
| 271 | + Padding="0, 0, 0, 0" |
| 272 | + IsChecked="{Binding InstallAuditInstance}" |
| 273 | + IsThreeState="False" |
| 274 | + VerticalAlignment="Top" |
| 275 | + Margin="0,8,8,5"/> |
| 276 | + |
| 277 | + <Expander Grid.Column="1" |
| 278 | + Header="ServiceControl Audit" |
| 279 | + IsExpanded="{Binding IsServiceControlAuditExpanded}" |
| 280 | + IsEnabled="{Binding InstallAuditInstance}" |
| 281 | + Margin="0,5,0,5" |
| 282 | + MouseDown="Button_MouseDown" |
| 283 | + PreviewMouseDown="Button_MouseDown" |
| 284 | + PreviewMouseLeftButtonDown="Button_MouseDown"> |
| 285 | + <StackPanel Margin="60,0,60,0" Visibility="{Binding InstallAuditInstance, Converter={StaticResource boolToVis}}"> |
| 286 | + <Border Margin="0,40,0,20" |
247 | 287 | BorderBrush="{StaticResource Gray70Brush}" |
248 | 288 | BorderThickness="0,0,0,1"> |
249 | | - <TextBlock FontSize="13px" |
| 289 | + <TextBlock FontSize="13px" |
250 | 290 | FontWeight="Bold" |
251 | 291 | Text="GENERAL" /> |
252 | | - </Border> |
253 | | - |
254 | | - <controls:FormTextBox Header="NAME / WINDOWS SERVICE NAME" Text="{Binding AuditInstanceName}" /> |
255 | | - |
256 | | - <GroupBox Header="USER ACCOUNT"> |
257 | | - <StackPanel> |
258 | | - <RadioButton IsChecked="{Binding AuditUseSystemAccount}"> |
259 | | - <TextBlock Text="LOCAL SYSTEM" /> |
260 | | - </RadioButton> |
261 | | - <RadioButton IsChecked="{Binding AuditUseServiceAccount}"> |
262 | | - <TextBlock Text="LOCAL SERVICE" /> |
263 | | - </RadioButton> |
264 | | - <RadioButton HorizontalContentAlignment="Stretch" IsChecked="{Binding AuditUseProvidedAccount}"> |
265 | | - <TextBlock Text="USER" /> |
266 | | - </RadioButton> |
267 | | - <Grid Margin="15,0,0,0"> |
268 | | - <Grid.RowDefinitions> |
269 | | - <RowDefinition Height="*" /> |
270 | | - <RowDefinition Height="auto" /> |
271 | | - <RowDefinition Height="auto" /> |
272 | | - </Grid.RowDefinitions> |
273 | | - <controls:FormTextBox Grid.Row="1" |
| 292 | + </Border> |
| 293 | + |
| 294 | + <controls:FormTextBox Header="NAME / WINDOWS SERVICE NAME" Text="{Binding AuditInstanceName}" /> |
| 295 | + |
| 296 | + <GroupBox Header="USER ACCOUNT"> |
| 297 | + <StackPanel> |
| 298 | + <RadioButton IsChecked="{Binding AuditUseSystemAccount}"> |
| 299 | + <TextBlock Text="LOCAL SYSTEM" /> |
| 300 | + </RadioButton> |
| 301 | + <RadioButton IsChecked="{Binding AuditUseServiceAccount}"> |
| 302 | + <TextBlock Text="LOCAL SERVICE" /> |
| 303 | + </RadioButton> |
| 304 | + <RadioButton HorizontalContentAlignment="Stretch" IsChecked="{Binding AuditUseProvidedAccount}"> |
| 305 | + <TextBlock Text="USER" /> |
| 306 | + </RadioButton> |
| 307 | + <Grid Margin="15,0,0,0"> |
| 308 | + <Grid.RowDefinitions> |
| 309 | + <RowDefinition Height="*" /> |
| 310 | + <RowDefinition Height="auto" /> |
| 311 | + <RowDefinition Height="auto" /> |
| 312 | + </Grid.RowDefinitions> |
| 313 | + <controls:FormTextBox Grid.Row="1" |
274 | 314 | Header="SERVICE ACCOUNT" |
275 | 315 | Text="{Binding AuditServiceAccount}" |
276 | 316 | Visibility="{Binding AuditUseProvidedAccount, |
277 | 317 | Converter={StaticResource boolToVis}}" /> |
278 | 318 |
|
279 | | - <controls:FormPasswordBox Grid.Row="2" |
| 319 | + <controls:FormPasswordBox Grid.Row="2" |
280 | 320 | Header="PASSWORD" |
281 | 321 | Text="{Binding AuditPassword}" |
282 | 322 | Visibility="{Binding AuditPasswordEnabled, |
283 | 323 | Converter={StaticResource boolToVis}}" /> |
284 | | - <TextBlock Grid.Row="2" |
| 324 | + <TextBlock Grid.Row="2" |
285 | 325 | Text="No password is required for an AD Group Managed Service Account" |
286 | 326 | Visibility="{Binding AuditManagedAccount, |
287 | 327 | Converter={StaticResource boolToVis}}" /> |
288 | | - </Grid> |
289 | | - </StackPanel> |
290 | | - </GroupBox> |
| 328 | + </Grid> |
| 329 | + </StackPanel> |
| 330 | + </GroupBox> |
291 | 331 |
|
292 | | - <controls:FormTextBox Header="HOST NAME" |
| 332 | + <controls:FormTextBox Header="HOST NAME" |
293 | 333 | Text="{Binding AuditHostName}" |
294 | 334 | Warning="{Binding AuditHostNameWarning}" /> |
295 | | - <controls:FormTextBox Header="PORT NUMBER (1 - 49151)" Text="{Binding AuditPortNumber}" /> |
296 | | - <controls:FormTextBox Header="DATABASE MAINTENANCE PORT NUMBER (1 - 49151)" Text="{Binding AuditDatabaseMaintenancePortNumber}" /> |
| 335 | + <controls:FormTextBox Header="PORT NUMBER (1 - 49151)" Text="{Binding AuditPortNumber}" /> |
| 336 | + <controls:FormTextBox Header="DATABASE MAINTENANCE PORT NUMBER (1 - 49151)" Text="{Binding AuditDatabaseMaintenancePortNumber}" /> |
297 | 337 |
|
298 | | - <Border Margin="0,40,0,20" |
| 338 | + <Border Margin="0,40,0,20" |
299 | 339 | BorderBrush="{StaticResource Gray90Brush}" |
300 | 340 | BorderThickness="0,0,0,1"> |
301 | | - <TextBlock FontSize="13px" |
| 341 | + <TextBlock FontSize="13px" |
302 | 342 | FontWeight="Bold" |
303 | 343 | Text="PATHS" /> |
304 | | - </Border> |
| 344 | + </Border> |
305 | 345 |
|
306 | | - <controls:FormPathTextBox Header="DESTINATION PATH" |
| 346 | + <controls:FormPathTextBox Header="DESTINATION PATH" |
307 | 347 | SelectCommand="{Binding AuditSelectDestinationPath}" |
308 | 348 | Text="{Binding AuditDestinationPath}" /> |
309 | 349 |
|
310 | | - <controls:FormPathTextBox Header="LOG PATH" |
| 350 | + <controls:FormPathTextBox Header="LOG PATH" |
311 | 351 | SelectCommand="{Binding AuditSelectLogPath}" |
312 | 352 | Text="{Binding AuditLogPath}" /> |
313 | 353 |
|
314 | | - <controls:FormPathTextBox Header="DATABASE PATH" |
| 354 | + <controls:FormPathTextBox Header="DATABASE PATH" |
315 | 355 | SelectCommand="{Binding AuditSelectDatabasePath}" |
316 | 356 | Text="{Binding AuditDatabasePath}" /> |
317 | 357 |
|
318 | | - <Border Margin="0,40,0,20" |
| 358 | + <Border Margin="0,40,0,20" |
319 | 359 | BorderBrush="{StaticResource Gray90Brush}" |
320 | 360 | BorderThickness="0,0,0,1"> |
321 | | - <TextBlock FontSize="13px" |
| 361 | + <TextBlock FontSize="13px" |
322 | 362 | FontWeight="Bold" |
323 | 363 | Text="DATABASE RETENTION CONFIGURATION" /> |
324 | | - </Border> |
| 364 | + </Border> |
325 | 365 |
|
326 | | - <controls:FormSlider Explanation="Audit Messages will be removed after this period" |
| 366 | + <controls:FormSlider Explanation="Audit Messages will be removed after this period" |
327 | 367 | Header="AUDIT RETENTION PERIOD" |
328 | 368 | LargeChange="24" |
329 | 369 | Maximum="{Binding MaximumAuditRetentionPeriod}" |
|
332 | 372 | Units="{Binding AuditRetentionUnits}" |
333 | 373 | Value="{Binding AuditRetention}" /> |
334 | 374 |
|
335 | | - <Border Margin="0,40,0,20" |
| 375 | + <Border Margin="0,40,0,20" |
336 | 376 | BorderBrush="{StaticResource Gray90Brush}" |
337 | 377 | BorderThickness="0,0,0,1"> |
338 | | - <TextBlock FontSize="13px" |
| 378 | + <TextBlock FontSize="13px" |
339 | 379 | FontWeight="Bold" |
340 | 380 | Text="QUEUES CONFIGURATION" /> |
341 | | - </Border> |
342 | | - |
343 | | - <Grid> |
344 | | - <Grid.ColumnDefinitions> |
345 | | - <ColumnDefinition Width="auto" /> |
346 | | - <ColumnDefinition Width="*" /> |
347 | | - </Grid.ColumnDefinitions> |
348 | | - <Grid.RowDefinitions> |
349 | | - <RowDefinition /> |
350 | | - <RowDefinition /> |
351 | | - <RowDefinition /> |
352 | | - </Grid.RowDefinitions> |
353 | | - <controls:FormTextBox Grid.Column="0" |
| 381 | + </Border> |
| 382 | + |
| 383 | + <Grid> |
| 384 | + <Grid.ColumnDefinitions> |
| 385 | + <ColumnDefinition Width="auto" /> |
| 386 | + <ColumnDefinition Width="*" /> |
| 387 | + </Grid.ColumnDefinitions> |
| 388 | + <Grid.RowDefinitions> |
| 389 | + <RowDefinition /> |
| 390 | + <RowDefinition /> |
| 391 | + <RowDefinition /> |
| 392 | + </Grid.RowDefinitions> |
| 393 | + <controls:FormTextBox Grid.Column="0" |
354 | 394 | Grid.ColumnSpan="2" |
355 | 395 | Grid.Row="0" |
356 | 396 | Header="AUDIT QUEUE NAME" |
357 | 397 | Text="{Binding AuditQueueName}" /> |
358 | 398 |
|
359 | | - <controls:FormComboBox Grid.Column="0" |
| 399 | + <controls:FormComboBox Grid.Column="0" |
360 | 400 | Grid.Row="1" |
361 | 401 | HorizontalAlignment="Stretch" |
362 | 402 | VerticalAlignment="Top" |
|
366 | 406 | SelectedValue="{Binding AuditForwarding}" |
367 | 407 | /> |
368 | 408 |
|
369 | | - <controls:FormTextBox Grid.Column="1" |
| 409 | + <controls:FormTextBox Grid.Column="1" |
370 | 410 | Grid.Row="1" |
371 | 411 | Header="AUDIT FORWARDING QUEUE NAME" |
372 | 412 | Text="{Binding AuditForwardingQueueName}" |
373 | 413 | Visibility="{Binding ShowAuditForwardingQueue, Converter={StaticResource boolToVis}}" /> |
374 | 414 |
|
375 | | - <controls:FormWarningTextBlock Grid.Column="0" |
| 415 | + <controls:FormWarningTextBlock Grid.Column="0" |
376 | 416 | Grid.ColumnSpan="2" |
377 | 417 | Grid.Row="2" |
378 | 418 | Text="{Binding AuditForwardingWarning}" |
379 | 419 | Visibility="{Binding Path=(cm:IDataErrorInfo.Error), Converter={StaticResource nullOrEmptyToVisInverted}}" /> |
380 | 420 |
|
381 | | - </Grid> |
| 421 | + </Grid> |
382 | 422 |
|
383 | | - <Border Margin="0,40,0,20" |
| 423 | + <Border Margin="0,40,0,20" |
384 | 424 | BorderBrush="{StaticResource Gray90Brush}" |
385 | 425 | BorderThickness="0,0,0,1"> |
386 | | - <TextBlock FontSize="13px" |
| 426 | + <TextBlock FontSize="13px" |
387 | 427 | FontWeight="Bold" |
388 | 428 | Text="ADVANCED CONFIGURATION" /> |
389 | | - </Border> |
390 | | - <controls:FormComboBox HorizontalAlignment="Stretch" |
| 429 | + </Border> |
| 430 | + <controls:FormComboBox HorizontalAlignment="Stretch" |
391 | 431 | VerticalAlignment="Top" |
392 | 432 | DisplayMemberPath="Name" |
393 | 433 | Header="FULL TEXT SEARCH ON MESSAGE BODIES" |
394 | 434 | ItemsSource="{Binding AuditEnableFullTextSearchOnBodiesOptions}" |
395 | 435 | SelectedValue="{Binding AuditEnableFullTextSearchOnBodies}" /> |
396 | | - </StackPanel> |
397 | | - </Expander> |
398 | | - </CheckBox> |
| 436 | + </StackPanel> |
| 437 | + </Expander> |
| 438 | + </Grid> |
| 439 | + </StackPanel> |
399 | 440 | </StackPanel> |
400 | 441 | </sie:SharedServiceControlEditorView.SharedContent> |
401 | 442 | </sie:SharedServiceControlEditorView> |
|
0 commit comments