Summary
Tries to find a node in the scene graph representing the specified visual.
- Namespace
- Avalonia
.Rendering .SceneGraph - Containing Type
- Scene
Syntax
public IVisualNode FindNode(IVisual visual)
Parameters
Name | Type | Description |
---|---|---|
visual | IVisual | The visual. |
Return Value
Type | Description |
---|---|
IVisualNode | The node representing the visual or null if it could not be found. |