TextViewLayoutChangedEventArgs Class

Provides information for the LayoutChanged event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.VisualStudio.Text.Editor.TextViewLayoutChangedEventArgs

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Déclaration
Public Class TextViewLayoutChangedEventArgs _
    Inherits EventArgs
public class TextViewLayoutChangedEventArgs : EventArgs
public ref class TextViewLayoutChangedEventArgs : public EventArgs
type TextViewLayoutChangedEventArgs =  
    class
        inherit EventArgs
    end
public class TextViewLayoutChangedEventArgs extends EventArgs

The TextViewLayoutChangedEventArgs type exposes the following members.

Constructors

  Name Description
Public method TextViewLayoutChangedEventArgs Initializes a new instance of TextViewLayoutChangedEventArgs.

Top

Properties

  Name Description
Public property HorizontalTranslation Determines whether the view was translated horizontally after the last layout.
Public property NewOrReformattedLines Gets a read-only collection of new or reformatted lines.
Public property NewOrReformattedSpans Gets a collection of new or reformatted spans.
Public property NewSnapshot Gets the new snapshot of the view.
Public property NewViewState Gets the state of the view after the layout.
Public property OldSnapshot Gets the old snapshot of the view. Deprecated.
Public property OldViewState Gets the state of the view prior to the layout.
Public property TranslatedLines Gets a collection of translated lines.
Public property TranslatedSpans Gets a collection of translated spans.
Public property VerticalTranslation Determines whether the view was translated vertically after the last layout.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace