Table of Contents

Method EnsureValidSelection

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

EnsureValidSelection()

Updates the cursor position, the MultiSelectedRegions, and Value to ensure they are within 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 SetNeedsDraw()