Share via


VisibilityState Enum

Definition

Specifies the visibility of an ITextViewLine with respect to the visible area when the line was rendered.

public enum class VisibilityState
public enum class VisibilityState
enum VisibilityState
public enum VisibilityState
type VisibilityState = 
Public Enum VisibilityState
Inheritance
VisibilityState

Fields

Name Value Description
Unattached 0

The line is unattached, that is, it was not formatted as part of a layout in the text view.

Hidden 1

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 top of the view.

PartiallyVisible 2

The line is partially visible, that is, some portion of the line extends above the top of the view and/or below the bottom of the view.

FullyVisible 3

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.

Applies to