Share via


TextViewLayoutChangedEventArgs Class

Definition

Provides information for a Layout Changed event of ITextView.

public ref class TextViewLayoutChangedEventArgs : EventArgs
public class TextViewLayoutChangedEventArgs : EventArgs
type TextViewLayoutChangedEventArgs = class
    inherit EventArgs
Public Class TextViewLayoutChangedEventArgs
Inherits EventArgs
Inheritance
TextViewLayoutChangedEventArgs

Constructors

TextViewLayoutChangedEventArgs(ViewState, ViewState, IList<ITextViewLine>, IList<ITextViewLine>)

Initializes a new instance of a TextViewLayoutChangedEventArgs.

Properties

AnyEditBufferChanges

Gets whether the layout was caused by any text changes on the edit buffer.

AnyVisualBufferChanges

Gets whether the layout was caused by any text changes on the visual buffer.

HorizontalTranslation

Has the view translated horizontally since the last layout?

NewOrReformattedLines

Gets a read-only collection of new or reformatted lines.

NewOrReformattedSpans

Gets a collection the spans that are either new or have been reformatted.

NewSnapshot

Gets the new snapshot produced by the changed layout.

NewViewState

State of the view after the layout.

OldSnapshot

Gets the old snapshot of the view.

OldViewState

State of the view prior to the layout.

TranslatedLines

Gets a read-only collection of translated lines.

TranslatedSpans

Gets a collection spans that have been translated.

VerticalTranslation

Has the view translated vertically since the last layout?

Applies to