How to delete WindowLayout in RhinoApp?

How to delete WindowLayout in RhinoApp?

Can i delete WindowLayout in Command or C#(RhinoCommon API)?

Hi JyAn -

You can only delete custom window layouts.
When you select one of those in the list, you can use the delete icon to delete it.

-wim

Is there a way to remove it using the RhinoCommon API without using a “WindowLayout” window?