RingSoft.DataEntryControls.Engine.Annotations Namespace
RingSoft.DataEntryControls.WPF Namespace

ExtensionMethods..::..GetParentOfType Method (DependencyObject, Type)

Gets the type of the parent of.

Namespace:  RingSoft.DataEntryControls.WPF
Assembly:  RingSoft.DataEntryControls.WPF (in RingSoft.DataEntryControls.WPF.dll)

Syntax


public static DependencyObject GetParentOfType(
	this DependencyObject element,
	Type type
)
<ExtensionAttribute> _
Public Shared Function GetParentOfType ( _
	element As DependencyObject, _
	type As Type _
) As DependencyObject
[ExtensionAttribute]
public:
static DependencyObject^ GetParentOfType(
	DependencyObject^ element, 
	Type^ type
)

Parameters

element
Type: DependencyObject
The element.
type
Type: Type
The type.

Return Value

DependencyObject.