Class Ext
- Namespace
- SearchAThing.Desktop
- Assembly
- netcore-desktop.dll
public static class Ext
- Inheritance
-
Ext
- Inherited Members
Methods
SearchParent<T>(StyledElement, int?)
Search from this control upward in the hierarchy searching given template type for all levels until root if default maxLevel (null) or for at most maxLevel of parents.
public static T? SearchParent<T>(this StyledElement ctl, int? maxLevel = null) where T : Control
Parameters
ctl
StyledElementmaxLevel
int?
Returns
- T
Type Parameters
T