Share via


PopupStyles Enum

Definition

Represents the styles associated with pop-up windows.

This enumeration supports a bitwise combination of its member values.

public enum class PopupStyles
public enum class PopupStyles
enum PopupStyles
[System.Flags]
public enum PopupStyles
[<System.Flags>]
type PopupStyles = 
Public Enum PopupStyles
Inheritance
PopupStyles
Attributes

Fields

Name Value Description
None 0

Sets the default behavior: the pop-up window has no border, is not resizable, is not dismissed when the mouse moves,

DismissOnMouseLeaveText 4

Dismiss the pop-up window if the mouse leaves the associated text span.
This setting is mutually exclusive with DismissOnMouseLeaveTextOrContent.

DismissOnMouseLeaveTextOrContent 8

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.

PositionLeftOrRight 16

Try to position the pop-up window to the left or right of the visual span.

PreferLeftOrTopPosition 32

Try to position the pop-up window to the left or above the visual span.

RightOrBottomJustify 64

Align the right or bottom edges of the pop-up window with those of the visual span.

PositionClosest 128

Use the positioning preference specified, but if the opposite positioning can get the popup closer to the visual span, use the opposition positioning.

Applies to