 | UIHelperFindFirstLogicalChildOfTypeT Method |
Searches in the LogicalTree of the FrameworkElement element
after the first child element of type T.
Namespace: Vishnu.ViewModelAssembly: Vishnu.ViewModel (in Vishnu.ViewModel.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntaxpublic static T FindFirstLogicalChildOfType<T>(
FrameworkElement element
)
where T : FrameworkElement
Public Shared Function FindFirstLogicalChildOfType(Of T As FrameworkElement) (
element As FrameworkElement
) As T
public:
generic<type name T>
where T : FrameworkElement
static T FindFirstLogicalChildOfType(
FrameworkElement^ element
)
static member FindFirstLogicalChildOfType :
element : FrameworkElement -> 'T when 'T : FrameworkElement
Parameters
- element FrameworkElement
- FrameworkElement whose LogicalTree is to be searched.
Type parameters
- T
- Type of the child element searched for.
Return value
TChild element of type T or null.
See also