Table of Contents

Method GetViewsUnderLocation

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

GetViewsUnderLocation(in Point, ViewportSettingsFlags)

Gets the Views that are under screenLocation, including Adornments. The list is ordered by depth. The deepest View is at the end of the list (the top most View is at element 0).

public static List<View?> GetViewsUnderLocation(in Point screenLocation, ViewportSettingsFlags excludeViewportSettingsFlags)

Parameters

screenLocation Point

Screen-relative location.

excludeViewportSettingsFlags ViewportSettingsFlags

If set, excludes Views that have the Transparent or TransparentMouse flags set in their ViewportSettings.

Returns

List<View>