SceneLayers.

Remove(IVisual) Method

Summary

Removes a layer from the scene.
Namespace
Avalonia.Rendering.SceneGraph
Containing Type
SceneLayers

Syntax

public bool Remove(IVisual layerRoot)

Parameters

Name Type Description
layerRoot IVisual The root visual.

Return Value

Type Description
bool True if a matching layer was removed, otherwise false.