@@ -47,13 +47,13 @@ All other rights reserved.
47
47
<Setter Property =" Control.Template" >
48
48
<Setter .Value>
49
49
<ControlTemplate >
50
- <Rectangle
51
- Stroke=" #FF000000"
52
- StrokeThickness=" 1"
53
- Margin=" 3,3,3,3"
54
- SnapsToDevicePixels=" True"
55
- StrokeDashArray=" 1 2"
56
- />
50
+ <Rectangle Style = " {x:Null} "
51
+ Stroke =" #FF000000"
52
+ StrokeThickness =" 1"
53
+ Margin =" 3,3,3,3"
54
+ SnapsToDevicePixels =" True"
55
+ StrokeDashArray =" 1 2"
56
+ />
57
57
</ControlTemplate >
58
58
</Setter .Value>
59
59
</Setter >
@@ -76,13 +76,13 @@ All other rights reserved.
76
76
<Setter Property =" Template" >
77
77
<Setter .Value>
78
78
<ControlTemplate TargetType =" {x:Type ButtonBase}" >
79
- <Grid Width =" Auto" Height =" Auto" >
80
- <Border
81
- x:Name=" border"
82
- BorderBrush=" #FF696969"
83
- BorderThickness=" 1,1,1,1"
84
- CornerRadius=" 4,4,4,4"
85
- />
79
+ <Grid Style = " {x:Null} " Width =" Auto" Height =" Auto" >
80
+ <Border Style = " {x:Null} "
81
+ x : Name =" border"
82
+ BorderBrush =" #FF696969"
83
+ BorderThickness =" 1,1,1,1"
84
+ CornerRadius =" 4,4,4,4"
85
+ />
86
86
<ContentPresenter Margin =" 2,2,2,2" />
87
87
</Grid >
88
88
<ControlTemplate .Triggers>
@@ -116,7 +116,13 @@ All other rights reserved.
116
116
<StackPanel Style =" {x:Null}"
117
117
DockPanel.Dock=" Top"
118
118
Orientation =" Horizontal" >
119
- <ComboBox Style =" {x:Null}"
119
+ <Label Style =" {x:Null}"
120
+ Padding =" 2"
121
+ Target =" {Binding ElementName=TreeTypeComboBox}"
122
+ Content =" Tree:" />
123
+ <ComboBox Style =" {x:Null}"
124
+ x : Name =" TreeTypeComboBox"
125
+ Padding =" 4,2"
120
126
ItemsSource =" {Binding Source={markup:EnumBindingSource {x:Type tree:TreeType}}}"
121
127
SelectedItem =" {Binding CurrentTreeType, Mode=TwoWay}" />
122
128
<Menu Style =" {x:Null}" >
@@ -151,10 +157,10 @@ All other rights reserved.
151
157
Text=" {Binding Filter, UpdateSourceTrigger=PropertyChanged}"
152
158
Margin=" 2,2,22,2"
153
159
>
154
- <ComboBoxItem >
160
+ <ComboBoxItem Style = " {x:Null} " >
155
161
<TextBlock Style =" {x:Null}" Text =" Clear any filter applied to the tree view" />
156
162
</ComboBoxItem >
157
- <ComboBoxItem >
163
+ <ComboBoxItem Style = " {x:Null} " >
158
164
<TextBlock Style =" {x:Null}" Text =" Show only elements with binding errors" />
159
165
</ComboBoxItem >
160
166
<ComboBox .ToolTip>
@@ -192,6 +198,7 @@ All other rights reserved.
192
198
<TreeView .Resources>
193
199
<HierarchicalDataTemplate DataType =" {x:Type tree:TreeItem}" ItemsSource =" {Binding Children}" >
194
200
<TextBlock
201
+ Style =" {x:Null}"
195
202
Text=" {Binding}"
196
203
HorizontalAlignment=" Stretch"
197
204
infrastructure:BringIntoViewBehavior.IsActive=" {Binding IsSelected}"
@@ -216,8 +223,8 @@ All other rights reserved.
216
223
<Setter Property =" Template" >
217
224
<Setter .Value>
218
225
<ControlTemplate TargetType =" {x:Type ToolTip}" >
219
- <Grid Width =" 200" Height =" 200" >
220
- <Rectangle Fill =" {TemplateBinding Content}" RadiusX =" 10" RadiusY =" 10" Margin =" 10" />
226
+ <Grid Width =" 200" Height =" 200" Style = " {x:Null} " >
227
+ <Rectangle Style = " {x:Null} " Fill =" {TemplateBinding Content}" RadiusX =" 10" RadiusY =" 10" Margin =" 10" />
221
228
222
229
<Grid .Effect>
223
230
<DropShadowEffect />
@@ -291,11 +298,12 @@ All other rights reserved.
291
298
</TabItem .Header>
292
299
<controls : PropertyInspector x : Name =" DataContextPropertyGrid" RootTarget =" {Binding CurrentSelection.Target.DataContext}" />
293
300
</TabItem >
301
+
294
302
<TabItem Style =" {x:Null}" >
295
303
<TabItem .Header>
296
304
<TextBlock Style =" {x:Null}" Text =" Events" >
297
305
<TextBlock .ToolTip>
298
- <StackPanel MaxWidth =" 300" >
306
+ <StackPanel Style = " {x:Null} " MaxWidth =" 300" >
299
307
<TextBlock Style =" {x:Null}" Text =" Events View" />
300
308
<TextBlock
301
309
Style=" {x:Null}"
@@ -306,13 +314,15 @@ All other rights reserved.
306
314
</TextBlock .ToolTip>
307
315
</TextBlock >
308
316
</TabItem .Header>
317
+
309
318
<views : EventsView />
310
319
</TabItem >
320
+
311
321
<TabItem Style =" {x:Null}" >
312
322
<TabItem .Header>
313
323
<TextBlock Style =" {x:Null}" Text =" Triggers" >
314
324
<TextBlock .ToolTip>
315
- <StackPanel MaxWidth =" 300" >
325
+ <StackPanel Style = " {x:Null} " MaxWidth =" 300" >
316
326
<TextBlock Style =" {x:Null}" Text =" Triggers View" />
317
327
<TextBlock
318
328
Style =" {x:Null}"
@@ -323,14 +333,16 @@ All other rights reserved.
323
333
</TextBlock .ToolTip>
324
334
</TextBlock >
325
335
</TabItem .Header>
336
+
326
337
<triggersTab : TriggersView RootTarget =" {Binding CurrentSelection.Target}"
327
338
IsSelected =" {Binding IsSelected, RelativeSource={RelativeSource AncestorType={x:Type TabItem}}}" />
328
339
</TabItem >
340
+
329
341
<TabItem Style =" {x:Null}" >
330
342
<TabItem .Header>
331
343
<TextBlock Style =" {x:Null}" Text =" Behaviors" >
332
344
<TextBlock .ToolTip>
333
- <StackPanel MaxWidth =" 300" >
345
+ <StackPanel Style = " {x:Null} " MaxWidth =" 300" >
334
346
<TextBlock Style =" {x:Null}" Text =" Behaviors View" />
335
347
<TextBlock
336
348
Style=" {x:Null}"
@@ -341,6 +353,7 @@ All other rights reserved.
341
353
</TextBlock .ToolTip>
342
354
</TextBlock >
343
355
</TabItem .Header>
356
+
344
357
<behaviorsTab : BehaviorsView RootTarget =" {Binding CurrentSelection.Target}"
345
358
IsSelected=" {Binding IsSelected, RelativeSource={RelativeSource AncestorType={x:Type TabItem}}}" />
346
359
</TabItem >
@@ -349,7 +362,7 @@ All other rights reserved.
349
362
<TabItem .Header>
350
363
<TextBlock Style =" {x:Null}" Text =" Methods" >
351
364
<TextBlock .ToolTip>
352
- <StackPanel MaxWidth =" 300" >
365
+ <StackPanel Style = " {x:Null} " MaxWidth =" 300" >
353
366
<TextBlock Style =" {x:Null}" Text =" Methods View" />
354
367
<TextBlock
355
368
Style=" {x:Null}"
@@ -372,7 +385,7 @@ All other rights reserved.
372
385
<TabItem .Header>
373
386
<TextBlock Style =" {x:Null}" Text =" PowerShell" >
374
387
<TextBlock .ToolTip>
375
- <StackPanel MaxWidth =" 300" >
388
+ <StackPanel Style = " {x:Null} " MaxWidth =" 300" >
376
389
<TextBlock Style =" {x:Null}" Text =" PowerShell View" />
377
390
<TextBlock
378
391
Style=" {x:Null}"
@@ -391,7 +404,7 @@ All other rights reserved.
391
404
<TabItem .Header>
392
405
<TextBlock Style =" {x:Null}" Text =" Debug Listener" >
393
406
<TextBlock .ToolTip>
394
- <StackPanel MaxWidth =" 300" >
407
+ <StackPanel Style = " {x:Null} " MaxWidth =" 300" >
395
408
<TextBlock Style =" {x:Null}" Text =" Debug Listener" />
396
409
<TextBlock
397
410
Style=" {x:Null}"
@@ -429,28 +442,28 @@ All other rights reserved.
429
442
430
443
<!-- StatusBar -->
431
444
<StatusBar Style =" {x:Null}" Grid.Row=" 3" Grid.ColumnSpan=" 2" Grid.Column=" 0" >
432
- <StackPanel Orientation =" Horizontal" >
433
- <StackPanel Orientation =" Horizontal" >
445
+ <StackPanel Style = " {x:Null} " Orientation =" Horizontal" >
446
+ <StackPanel Style = " {x:Null} " Orientation =" Horizontal" >
434
447
<TextBlock Style =" {x:Null}" Text =" Keyboard.FocusedElement:" />
435
448
<TextBlock Style =" {x:Null}" Margin =" 3,0,0,0" >
436
449
<windows : NoFocusHyperlink
437
450
Focusable=" False"
438
451
Command=" {x:Static windows:SnoopUI.SelectFocusCommand}"
439
452
CommandParameter=" {Binding CurrentFocus}"
440
453
>
441
- <TextBlock Text =" {Binding CurrentFocus, Converter={x:Static converters:ObjectToStringConverter.Instance}}" />
454
+ <TextBlock Style = " {x:Null} " Text =" {Binding CurrentFocus, Converter={x:Static converters:ObjectToStringConverter.Instance}}" />
442
455
</windows : NoFocusHyperlink >
443
456
</TextBlock >
444
457
<TextBlock Style =" {x:Null}" Text =" ; " />
445
458
<StackPanel .ToolTip>
446
- <StackPanel >
459
+ <StackPanel Style = " {x:Null} " >
447
460
<TextBlock Style =" {x:Null}" Text =" This is the object that has keyboard focus." />
448
461
<TextBlock Style =" {x:Null}" Text =" Click the link to select this object." />
449
462
</StackPanel >
450
463
</StackPanel .ToolTip>
451
464
</StackPanel >
452
465
453
- <StackPanel Orientation =" Horizontal" >
466
+ <StackPanel Style = " {x:Null} " Orientation =" Horizontal" >
454
467
<TextBlock Style =" {x:Null}" Text =" Current FocusScope:" />
455
468
<TextBlock Style =" {x:Null}" Margin =" 3,0,0,0" >
456
469
<windows : NoFocusHyperlink
@@ -462,7 +475,7 @@ All other rights reserved.
462
475
</windows : NoFocusHyperlink >
463
476
</TextBlock >
464
477
<StackPanel .ToolTip>
465
- <StackPanel >
478
+ <StackPanel Style = " {x:Null} " >
466
479
<TextBlock Style =" {x:Null}" Text =" This is the object that is the root of the current focus scope." />
467
480
<TextBlock Style =" {x:Null}" Text =" Click the link to select this object." />
468
481
</StackPanel >
0 commit comments