Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

public enum VisibilityState

Member nameDescription
FullyVisibleThe line is fully visible.
HiddenThe 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.
PartiallyVisibleThe 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.
UnattachedThe line is unattached, that is, it was not formatted as part of a layout in the text view.

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.

Show:
© 2015 Microsoft