alexa

    Show / Hide Table of Contents

    Interface IPopupItem

    A generic interface for any control that wants to participate in the Popup framework.

    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public interface IPopupItem

    Methods

    GetPopupParentControl()

    Returns the popup's control parent.

    Declaration
    Control GetPopupParentControl()
    Returns
    Type
    System.Windows.Forms.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.

    Back to top Generated by DocFX