21 references to SubTree
PresentationCore (9)
System\Windows\Input\MouseDevice.cs (2)
292
if (!(captureMode == CaptureMode.None || captureMode == CaptureMode.Element || captureMode == CaptureMode.
SubTree
))
1556
case CaptureMode.
SubTree
:
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (3)
541
if (!(captureMode == CaptureMode.None || captureMode == CaptureMode.Element || captureMode == CaptureMode.
SubTree
))
925
case CaptureMode.
SubTree
:
1077
if (CapturedMode == CaptureMode.
SubTree
&& _inputSource is not null)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
230
if (!(captureMode == CaptureMode.None || captureMode == CaptureMode.Element || captureMode == CaptureMode.
SubTree
))
653
if (CapturedMode == CaptureMode.
SubTree
&& _inputSource != null)
990
case CaptureMode.
SubTree
:
System\Windows\Input\TouchDevice.cs (1)
192
case CaptureMode.
SubTree
:
PresentationFramework (10)
System\Windows\Controls\ComboBox.cs (2)
234
Mouse.Capture(comboBox, CaptureMode.
SubTree
);
1704
Mouse.Capture(comboBox, CaptureMode.
SubTree
);
System\Windows\Controls\DataGrid.cs (1)
4810
if (Mouse.Capture(this, CaptureMode.
SubTree
))
System\Windows\Controls\ListBox.cs (1)
706
Mouse.Capture(this, CaptureMode.
SubTree
);
System\Windows\Controls\Primitives\CalendarItem.cs (2)
676
Mouse.Capture(this, CaptureMode.
SubTree
);
879
Mouse.Capture(this, CaptureMode.
SubTree
);
System\Windows\Controls\Primitives\MenuBase.cs (2)
562
Mouse.Capture(menu, CaptureMode.
SubTree
);
817
if (!IsDescendant(this, Mouse.Captured as Visual) && !Mouse.Capture(this, CaptureMode.
SubTree
))
System\Windows\Controls\Primitives\Popup.cs (1)
1167
Mouse.Capture(_popupRoot, CaptureMode.
SubTree
);
System\Windows\Controls\ToolBar.cs (1)
258
Mouse.Capture(toolBar, CaptureMode.
SubTree
);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1105
bool success = Mouse.Capture(targetCapture, CaptureMode.
SubTree
);
1206
Mouse.Capture(targetCapture, CaptureMode.
SubTree
);