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
'宣言
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 | |
---|---|---|
TextViewLayoutChangedEventArgs | Initializes a new instance of TextViewLayoutChangedEventArgs. |
Top
Properties
Name | Description | |
---|---|---|
HorizontalTranslation | Determines whether the view was translated horizontally after the last layout. | |
NewOrReformattedLines | Gets a read-only collection of new or reformatted lines. | |
NewOrReformattedSpans | Gets a collection of new or reformatted spans. | |
NewSnapshot | Gets the new snapshot of the view. | |
NewViewState | Gets the state of the view after the layout. | |
OldSnapshot | Gets the old snapshot of the view. Deprecated. | |
OldViewState | Gets the state of the view prior to the layout. | |
TranslatedLines | Gets a collection of translated lines. | |
TranslatedSpans | Gets a collection of translated spans. | |
VerticalTranslation | Determines whether the view was translated vertically after the last layout. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.