Interface IPopup
A generic interface for any control that wants to participate in the Popup framework.
Namespace: Syncfusion.WinForms.Core.Interfaces
Assembly: Syncfusion.Core.WinForms.dll
Syntax
public interface IPopup
Methods
GetPopupParentControl()
Returns the popup's control parent.
Declaration
Control GetPopupParentControl()
Returns
Type | Description |
---|---|
System.Windows.Forms.Control | The control. |
Remarks
If such a control exists, then the Popup framework will use it in its popup activation logic.
IsRelatedControl(Control, Boolean)
Indicates whether a specified control is part of the popup hierarchy.
Declaration
bool IsRelatedControl(Control control, bool askPopupParent)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | control | A control instance. |
System.Boolean | askPopupParent | True indicates this query should be passed to the IPopupParent, if any; False indicates you should not query the popup parent. |
Returns
Type | Description |
---|---|
System.Boolean | True if the control is part of the Popup hierarchy; False otherwise. |