Compartir a través de


EnsureSpanVisibleOptions Enumeration

Options to control the behavior of the EnsureSpanVisible method.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration EnsureSpanVisibleOptions
[FlagsAttribute]
public enum EnsureSpanVisibleOptions
[FlagsAttribute]
public enum class EnsureSpanVisibleOptions
[<FlagsAttribute>]
type EnsureSpanVisibleOptions
public enum EnsureSpanVisibleOptions

Members

Member name Description
AlwaysCenter Always center the span in the view.
MinimumScroll Do the minimum amount of scrolling to display the span in the view.
None Ensure that the end of the span is visible if it is impossible to display the entire span. If none of the text in the span is currently visible, center the span in the view.
ShowStart Ensure that the start of the span is visible if it is impossible to display the entire span.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace