VisibilityState Enumeration
Specifies the visibility of an ITextViewLine with respect to the visible area when the line was rendered.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaração
Public Enumeration VisibilityState
public enum VisibilityState
public enum class VisibilityState
type VisibilityState
public enum VisibilityState
Members
Member name | Description | |
---|---|---|
Unattached | The line is unattached, that is, it was not formatted as part of a layout in the text view. | |
Hidden | The line is hidden, that is, not visible inside the view. Lines are also hidden when their bottom edge is even with the top of the view or their top edge is even with the bottom of the view. | |
PartiallyVisible | The line is partially visible, that is, some portion of the line extends above the top of the view or below the bottom of the view. | |
FullyVisible | The line is fully visible. |
Remarks
An ITextViewLine is considered partially visible when its bottom is equal to the top of the visible area. Unattached lines are lines that were not formatted as part of a layout in the text view.