DragCanvasFindCanvasChild Method
Walks up the visual tree starting with the specified DependencyObject,
looking for a UIElement which is a child of the Canvas. If a suitable
element is not found, null is returned. If the 'depObj' object is a
UIElement in the Canvas's Children collection, it will be returned.
Namespace: MbcsCentralAssembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
public UIElement FindCanvasChild(
DependencyObject depObj
)
- depObj DependencyObject
-
A DependencyObject from which the search begins.
UIElement