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