public static ownsContentOutline(widget as Widget) as Boolean
Tests whether a view is inside a docking surface with a shared outline. Only ancestors are visited; no widget state is cached or allocated. Hosted views omit their own frame while retaining keyboard focus and selection. Standalone views keep their normal frame.
| Parameter | Description |
|---|---|
widget | View whose enclosing outline is queried. |
True inside a workspace's center or one of its attached panes.
if DockWorkspace.ownsContentOutline(view):
painter.fillRect(view.x, view.y, view.width, view.height)