IPopupAnchor Interface
Provides the base requirements for an element that has a popup.
public interface IPopupAnchor
Properties
IsKeyboardFocusWithinPopup
Gets whether keyboard focus is within the child popup.
bool IsKeyboardFocusWithinPopup { get; }
Property Value
- bool:
trueif keyboard focus is within the child popup; otherwise,false.
IsPopupOpen
Gets or sets whether a child popup is open.
bool IsPopupOpen { get; set; }
Property Value
- bool:
trueif the a child popup is open; otherwise,false.
PopupChild
Gets the child element within the popup.
PopupMenu
Gets the popup menu displayed by the popup anchor.
ContextMenu PopupMenu { get; }
Property Value
- ContextMenu:
The popup menu displayed by the popup anchor.
PopupStaysOpen
Gets whether the popup stays open, even when the popup loses focus, until explicitly closed.
bool PopupStaysOpen { get; }
Property Value
- bool:
trueif the popup stays open, even when the popup loses focus, until explicitly closed.
SupportsAltDownToOpen
Gets whether the element supports pressing Alt+Down to open the popup.
bool SupportsAltDownToOpen { get; }
Property Value
- bool:
trueif the element supports pressingAlt+Downto open the popup; otherwise,false.
WasPopupOpenedWithKeyboard
Gets or sets whether the child popup was opened via the keyboard.
bool WasPopupOpenedWithKeyboard { get; set; }
Property Value
- bool:
trueif the child popup was opened via the keyboard; otherwise,false.