Class VisualUtils
Represent a class that provides utility method to find the first descendant control of a specified type.
Inheritance
System.Object
VisualUtils
Namespace: Syncfusion.Windows.Controls
Assembly: Syncfusion.SfShared.Wpf.dll
Syntax
public class VisualUtils : Object
Constructors
VisualUtils()
Initializes an instance of the VisualUtils class.
Declaration
public VisualUtils()
Methods
FindDescendant(Visual, Type)
Gets the decendant
Declaration
public static Visual FindDescendant(Visual startingFrom, Type typeDescendant)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Media.Visual | startingFrom | |
| System.Type | typeDescendant |
Returns
| Type |
|---|
| System.Windows.Media.Visual |