ITextView.InLayout Property


Determines whether the view is in the process of being laid out.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

bool InLayout { get; }

Property Value

Type: System.Boolean

true if the view is being laid out, otherwise false.

Attempting to get the text view lines of the view while it is being laid out will cause an exception to be thrown.

Return to top