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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft