Class GridDropDownContainer
A version of the PopupControlContainer class that implements the IPopupParent interface specific for a GridControlBase.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridDropDownContainer : PopupControlContainer, IPopupControlContainer, IGridDropDownContainer, IPopupChild, INeedKeyboardMessages, INeedMouseMoveMessages, IMouseHookHLProcClient, IKeyboardProcHookClient, IPopupParent, IPopupItem, IQueryFocusInside
Constructors
GridDropDownContainer()
Initializes the new instances of the GridDropDownContainer class.
Declaration
public GridDropDownContainer()
Methods
Dispose(Boolean)
Disposes the unmanaged resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
Explicit Interface Implementations
IGridDropDownContainer.get_ParentControl()
Declaration
Control IGridDropDownContainer.get_ParentControl()
Returns
Type |
---|
System.Windows.Forms.Control |
IGridDropDownContainer.set_ParentControl(Control)
Declaration
void IGridDropDownContainer.set_ParentControl(Control value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | value |
IGridDropDownContainer.set_PopupParent(IPopupParent)
Declaration
void IGridDropDownContainer.set_PopupParent(IPopupParent value)
Parameters
Type | Name | Description |
---|---|---|
IPopupParent | value |
IPopupParent.ChildClosing(IPopupChild, PopupCloseType)
Called to indicate that the popup child was closed in the specified mode.
Declaration
void IPopupParent.ChildClosing(IPopupChild childUI, PopupCloseType popupCloseType)
Parameters
Type | Name | Description |
---|---|---|
IPopupChild | childUI | The child that was closed. |
PopupCloseType | popupCloseType | A PopupCloseType value. |
IPopupParent.GetBorderOverlapCue(PopupRelativeAlignment)
Returns a line (defined by 2 points) in screen co-ordinates that indicates the border overlap between the child and parent.
Declaration
Point[] IPopupParent.GetBorderOverlapCue(PopupRelativeAlignment relativeAlignment)
Parameters
Type | Name | Description |
---|---|---|
PopupRelativeAlignment | relativeAlignment | The preferred alignment selected using the Syncfusion.Windows.Forms.IPopupParent.GetLocationForPopupAlignment(Syncfusion.Windows.Forms.PopupRelativeAlignment,Syncfusion.Windows.Forms.PopupRelativeAlignment@) method. |
Returns
Type | Description |
---|---|
System.Drawing.Point[] | An array of 2 points representing a line (in screen co-ordinates) where the overlap takes place. NULL if no overlap is desired. |
Remarks
If a valid line is provided, the popup child in that area will be drawn in an overlap style.
IPopupParent.GetLocationForPopupAlignment(PopupRelativeAlignment, out PopupRelativeAlignment)
Returns the location for popup, given the preferred relative alignments.
Declaration
Point IPopupParent.GetLocationForPopupAlignment(PopupRelativeAlignment relativeAlignment, out PopupRelativeAlignment newAlignment)
Parameters
Type | Name | Description |
---|---|---|
PopupRelativeAlignment | relativeAlignment | The previous alignment. |
PopupRelativeAlignment | newAlignment | The new alignment designated for the returned location. |
Returns
Type | Description |
---|---|
System.Drawing.Point | An ideal location for popup designated by one of the PopupRelativeAlignment values in newAlignment. Or returns a Point.Empty and set newAlignment to Syncfusion.Windows.Forms.PopupRelativeAlignment.Default if you do not intend to provide multiple preferred locations. |
IQueryFocusInside.QueryFocusInside()
Indicates whether this control contains focus. Override this method if you want to show drop-down windows and indicate the control has not lost focus when the drop-down is shown.
Declaration
bool IQueryFocusInside.QueryFocusInside()
Returns
Type | Description |
---|---|
System.Boolean | True if the control or any child control has focus; false otherwise |