Click or drag to resize

MapElementExtensionsFindParentT Method

Finds an object of type T for a framework element which is a parent in the visual tree.

Namespace:  Ptv.XServer.Controls.Map.Tools
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public static T FindParent<T>(
	FrameworkElement fe
)
where T : DependencyObject

Parameters

fe
Type: System.WindowsFrameworkElement
The framework element.

Type Parameters

T
The type of the object.

Return Value

Type: T
The instance of the object or null if not found.
See Also