TextViewLayoutChangedEventArgs Constructor
Initializes a new instance of TextViewLayoutChangedEventArgs.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
‘선언
Public Sub New ( _
oldState As ViewState, _
newState As ViewState, _
newOrReformattedLines As IList(Of ITextViewLine), _
translatedLines As IList(Of ITextViewLine) _
)
public TextViewLayoutChangedEventArgs(
ViewState oldState,
ViewState newState,
IList<ITextViewLine> newOrReformattedLines,
IList<ITextViewLine> translatedLines
)
public:
TextViewLayoutChangedEventArgs(
ViewState^ oldState,
ViewState^ newState,
IList<ITextViewLine^>^ newOrReformattedLines,
IList<ITextViewLine^>^ translatedLines
)
new :
oldState:ViewState *
newState:ViewState *
newOrReformattedLines:IList<ITextViewLine> *
translatedLines:IList<ITextViewLine> -> TextViewLayoutChangedEventArgs
public function TextViewLayoutChangedEventArgs(
oldState : ViewState,
newState : ViewState,
newOrReformattedLines : IList<ITextViewLine>,
translatedLines : IList<ITextViewLine>
)
Parameters
- oldState
Type: Microsoft.VisualStudio.Text.Editor.ViewState
State of the view prior to the layout.
- newState
Type: Microsoft.VisualStudio.Text.Editor.ViewState
State of the view after the layout.
- newOrReformattedLines
Type: System.Collections.Generic.IList<ITextViewLine>
A list of the new or reformatted ITextViewLine objects.
- translatedLines
Type: System.Collections.Generic.IList<ITextViewLine>
A list of the translated ITextViewLine objects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.