Summary
Tries to find a layer with the specified root visual.
- Namespace
- Avalonia
.Rendering .SceneGraph - Containing Type
- SceneLayers
Syntax
public SceneLayer Find(IVisual layerRoot)
Parameters
Name | Type | Description |
---|---|---|
layerRoot | IVisual | The root visual. |
Return Value
Type | Description |
---|---|
SceneLayer | The layer if found, otherwise null. |