Method EnsureValidSelection | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

EnsureValidSelection()

Updates SelectedColumn, SelectedRow and MultiSelectedRegions where they are outside the bounds of the table (by adjusting them to the nearest existing cell). Has no effect ifTable has not been set.

public void EnsureValidSelection()

Remarks

Changes will not be immediately visible in the display until you call SetNeedsDraw()

Edit this page