In This Article

TextViewTextAreaLayoutEventArgs Class

Provides arguments for a ITextView.TextAreaLayout event.

public class TextViewTextAreaLayoutEventArgs : TextViewEventArgs
Inheritance:
object EventArgs RoutedEventArgs TextViewEventArgs object

Constructors

TextViewTextAreaLayoutEventArgs(ITextView)

Initializes a new instance of the TextViewTextAreaLayoutEventArgs class.

public TextViewTextAreaLayoutEventArgs(ITextView view)
Parameter Type Description
view ITextView

The ITextView that is affected by this event.

Properties

AddedOrUpdatedViewLines

Gets the collection of view lines that were added or updated by this layout cycle.

public IEnumerable<ITextViewLine> AddedOrUpdatedViewLines { get; }

Property Value

IEnumerable<ITextViewLine>:

The collection of view lines that were added or updated by this layout cycle.

HadSnapshotChange

Gets whether the layout occurred after the view's CurrentSnapshot changed.

public bool HadSnapshotChange { get; }

Property Value

bool:

true if the layout occurred after the view's CurrentSnapshot changed; otherwise, false.

RemovedViewLines

Gets the collection of view lines that were removed by this layout cycle.

public IEnumerable<ITextViewLine> RemovedViewLines { get; }

Property Value

IEnumerable<ITextViewLine>:

The collection of view lines that were removed by this layout cycle.

TranslatedViewLines

Gets the collection of view lines that were translated by this layout cycle.

public IEnumerable<ITextViewLine> TranslatedViewLines { get; }

Property Value

IEnumerable<ITextViewLine>:

The collection of view lines that were translated by this layout cycle.

Inherited Members