Interface IPopupChild
Defines a generic interface which when implemented will allow that object / control to participate in the popup framework.
Inherited Members
Namespace: Syncfusion.WinForms.Core.Interfaces
Assembly: Syncfusion.Core.WinForms.dll
Syntax
public interface IPopupChild : IPopup, IKeyboardMessage, IMouseMoveMessage, IMouseHook, IKeyboardHook
Remarks
This interface should be implemented by an object / control that acts like a popup window and wants to participate in the popup framework.
Properties
PopupParent
Gets the IPopupParent parent.
Declaration
IPopupParent PopupParent { get; }
Property Value
Type | Description |
---|---|
IPopupParent | An instance of the IPopupParent interface. |
Remarks
The Popup framework can handle a hierarchy of popups (like in a menu) for which it requires each popup child to provide a reference to its popup parent.
Methods
Hide(PopupCloseAction)
Hides the popup window.
Declaration
void Hide(PopupCloseAction popupCloseType)
Parameters
Type | Name | Description |
---|---|---|
PopupCloseAction | popupCloseType | The PopupCloseType value that indicates the mode in which this popup should be closed. |
IsShowing()
Indicates whether a popup is currently active / open.
Declaration
bool IsShowing()
Returns
Type | Description |
---|---|
System.Boolean | True if it is open; False otherwise. |