Table of Contents

Property ValidatePosDim

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

ValidatePosDim

Gets or sets whether validation of Pos and Dim occurs.

public bool ValidatePosDim { get; set; }

Property Value

bool

Remarks

Setting this to true will enable validation of X, Y, Width, and Height during set operations and in LayoutSubviews(). If invalid settings are discovered exceptions will be thrown indicating the error. This will impose a performance penalty and thus should only be used for debugging.