PopupStyles Enumeration

Represents the styles associated with pop-up windows.

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

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

Syntax

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

Members

Member name Description
DismissOnMouseLeaveText Dismiss the pop-up window if the mouse leaves the associated text span. This setting is mutually exclusive with DismissOnMouseLeaveTextOrContent.
DismissOnMouseLeaveTextOrContent Dismiss the pop-up window if the mouse leaves the associated text span or the pop-up content. This setting is mutually exclusive with DismissOnMouseLeaveText.
None Sets the default behavior: the pop-up window has no border, is not resizable, is not dismissed when the mouse moves,
PositionClosest Use the positioning preference specified, but if the opposite positioning can get the popup closer to the visual span, use the opposite positioning.
PositionLeftOrRight Try to position the pop-up window to the left or right of the visual span.
PreferLeftOrTopPosition Try to position the pop-up window to the left or above the visual span.
RightOrBottomJustify Align the right or bottom edges of the pop-up window with those of the visual span.

See Also

Reference

Microsoft.VisualStudio.Text.Adornments Namespace