Table of Contents

Method EnsureValidSelection

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 if Table has not been set.

public void EnsureValidSelection()

Remarks

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