PopupCloseReason Enum
Specifies the reason why a popup was closed.
public enum PopupCloseReason
Fields
Name | Description |
---|---|
ClickThrough | The end user clicked outside of the popup visual tree. |
ControlClick | A control on the popup was clicked. |
EscapeKeyPressed | The escape key was pressed. |
IsPopupOpenChanged | The IsPopupOpenProperty was changed to |
LostKeyboardFocusWithin | The popup visual tree lost keyboard focus. |
LostMouseCapture | The popup visual tree lost mouse capture. |
OtherPopupOpened | Another popup was opened that is not a child of this popup. |
SystemMenuKeyPressed | A system menu key, such as the left/right |
Unknown | It is unknown why the popup was closed. |