Interface IGridDropDownContainer
Provides an interface to the base method for GridDropDownContainer to use without having strong reference to that class.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public interface IGridDropDownContainer : IPopupChild, INeedKeyboardMessages, INeedMouseMoveMessages, IMouseHookHLProcClient, IKeyboardProcHookClient, IPopupParent, IPopupItem, IQueryFocusInside
Properties
ParentControl
Gets or sets the PopupControlContainer's Control Parent.
Declaration
Control ParentControl { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.Control | A control instance. |
Remarks
The Parent-Child relationship in this case is NOT similar to the one in the control hierarchy.
When you specify a Parent control via ParentControl and pass a Point.Empty location to ShowPopup, the popup location will be dynamically determined based on the ParentControl bounds and the screen area.
PopupParent
Gets or sets the IPopupParent parent.
Declaration
IPopupParent PopupParent { get; set; }
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
ShowPopup(Point)
Shows the popup at the specified location.
Declaration
void ShowPopup(Point pt)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | pt | A point in screen coordinates. Can be Point.Empty. |