TextViewLayoutChangedEventArgs Constructor

Definition

Initializes a new instance of a TextViewLayoutChangedEventArgs.

public:
 TextViewLayoutChangedEventArgs(Microsoft::VisualStudio::Text::Editor::ViewState ^ oldState, Microsoft::VisualStudio::Text::Editor::ViewState ^ newState, System::Collections::Generic::IList<Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^> ^ newOrReformattedLines, System::Collections::Generic::IList<Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^> ^ translatedLines);
public TextViewLayoutChangedEventArgs (Microsoft.VisualStudio.Text.Editor.ViewState oldState, Microsoft.VisualStudio.Text.Editor.ViewState newState, System.Collections.Generic.IList<Microsoft.VisualStudio.Text.Formatting.ITextViewLine> newOrReformattedLines, System.Collections.Generic.IList<Microsoft.VisualStudio.Text.Formatting.ITextViewLine> translatedLines);
new Microsoft.VisualStudio.Text.Editor.TextViewLayoutChangedEventArgs : Microsoft.VisualStudio.Text.Editor.ViewState * Microsoft.VisualStudio.Text.Editor.ViewState * System.Collections.Generic.IList<Microsoft.VisualStudio.Text.Formatting.ITextViewLine> * System.Collections.Generic.IList<Microsoft.VisualStudio.Text.Formatting.ITextViewLine> -> Microsoft.VisualStudio.Text.Editor.TextViewLayoutChangedEventArgs
Public Sub New (oldState As ViewState, newState As ViewState, newOrReformattedLines As IList(Of ITextViewLine), translatedLines As IList(Of ITextViewLine))

Parameters

oldState
ViewState

State of the view prior to the layout.

newState
ViewState

State of the view after the layout.

newOrReformattedLines
IList<ITextViewLine>

A list of the new or reformatted ITextViewLine.

translatedLines
IList<ITextViewLine>

A list of the translated ITextViewLine.

Exceptions

ArgumentNullException

oldState, newState, translatedLines or newOrReformattedLines is null.

Applies to