menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IPopupChild - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IPopupChild

    Defines a generic interface which when implemented will allow that object / control to participate in the popup framework.

    Inherited Members
    IKeyboardHook.KeyboardHookProc(Int32, Int32)
    IKeyboardMessage.KeyboardMessage(Message)
    IMouseHook.MouseHook(Int32, Point, IntPtr, Int32, Int32)
    IMouseMoveMessage.MouseMoveMessage(Message)
    IPopup.GetPopupParentControl()
    IPopup.IsRelatedControl(Control, Boolean)
    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved