Click or drag to resize

UIHelperFindFirstLogicalChildOfTypeT Method

Searches in the LogicalTree of the FrameworkElement element after the first child element of type T.

Namespace: Vishnu.ViewModel
Assembly: Vishnu.ViewModel (in Vishnu.ViewModel.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public static T FindFirstLogicalChildOfType<T>(
	
	FrameworkElement element
)
where T : FrameworkElement

Parameters

element  FrameworkElement
FrameworkElement whose LogicalTree is to be searched.

Type parameters

T
Type of the child element searched for.

Return value

T
Child element of type T or null.
See also