PopupStyles Enumeration

 

Represents the styles associated with pop-up windows.

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

[FlagsAttribute]
public enum PopupStyles

Member nameDescription
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.

Return to top
Show: