Class FindingVisual
Provides a method that can be used to find the child object of provided object by examining the visual tree.
Inheritance
System.Object
FindingVisual
Namespace: Syncfusion.Windows.PdfViewer
Assembly: Syncfusion.SfPdfViewer.UWP.dll
Syntax
public static class FindingVisual : Object
Methods
FindVisualChild<T>(DependencyObject)
Using the provided type, obtains a specific child object of the provided object by examining the visual tree.
Declaration
public static T FindVisualChild<T>(this DependencyObject obj)
where T : FrameworkElement
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.UI.Xaml.DependencyObject | obj | The object that holds the child collection |
Returns
| Type | Description |
|---|---|
| T | Child object of the desired type |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the child object |