共用方式為


TextViewExtensions.GetInOuterLayout(ITextView) Method

Definition

Determines whether a view is in the process of being laid out or is preparing to be laid out.

public:
[System::Runtime::CompilerServices::Extension]
 static bool GetInOuterLayout(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public static bool GetInOuterLayout (this Microsoft.VisualStudio.Text.Editor.ITextView textView);
static member GetInOuterLayout : Microsoft.VisualStudio.Text.Editor.ITextView -> bool
<Extension()>
Public Function GetInOuterLayout (textView As ITextView) As Boolean

Parameters

textView
ITextView

The ITextView to check.

Returns

Remarks

As opposed to InLayout, it is safe to get the TextViewLines but attempting to queue another layout will cause a reentrant layout exception.

Applies to