menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDropDownContainer - API Reference

    Show / Hide Table of Contents

    Class GridDropDownContainer

    A version of the PopupControlContainer class that implements the IPopupParent interface specific for a GridControlBase.

    Inheritance
    System.Object
    PopupControlContainer
    GridDropDownContainer
    Implements
    IPopupControlContainer
    IGridDropDownContainer
    IPopupChild
    INeedKeyboardMessages
    INeedMouseMoveMessages
    IMouseHookHLProcClient
    IKeyboardProcHookClient
    IPopupParent
    IPopupItem
    IQueryFocusInside
    Inherited Members
    PopupControlContainer.EnsurePopupHost()
    PopupControlContainer.CreatePopupHost()
    PopupControlContainer.CreateAccessibilityInstance()
    PopupControlContainer.INeedMouseMoveMessages.MouseMessage(Message)
    PopupControlContainer.IMouseHookHLProcClient.MouseHookProc(Int32, Point, IntPtr, Int32, Int32)
    PopupControlContainer.ProcessMouseMessage(Control, Int32, IntPtr, IntPtr)
    PopupControlContainer.INeedKeyboardMessages.KeyboardMessage(Message)
    PopupControlContainer.IKeyboardProcHookClient.KeyboardHookProc(Int32, Int32)
    PopupControlContainer.VeryifyMouseBasedDeactivation(Control, Int32)
    PopupControlContainer.GetPreferredLocation(PopupRelativeAlignment, PopupRelativeAlignment)
    PopupControlContainer.ShowPopup(Point)
    PopupControlContainer.HidePopup()
    PopupControlContainer.ConfirmDeactivate()
    PopupControlContainer.HidePopup(PopupCloseType)
    PopupControlContainer.ProcessDialogKey(Keys)
    PopupControlContainer.WndProc(Message)
    PopupControlContainer.FocusParent()
    PopupControlContainer.FocusFirstVisibleParent()
    PopupControlContainer.IsInSetFocus()
    PopupControlContainer.ApplyScaleToControl(Single)
    PopupControlContainer.OnFontChanged(EventArgs)
    PopupControlContainer.OnSizeChanged(EventArgs)
    PopupControlContainer.GetLocationForPopupAlignment(PopupRelativeAlignment, PopupRelativeAlignment)
    PopupControlContainer.GetBorderOverlapCue(PopupRelativeAlignment)
    PopupControlContainer.ChildClosing(IPopupChild, PopupCloseType)
    PopupControlContainer.IPopupItem.GetPopupParentControl()
    PopupControlContainer.IsRelatedControl(Control, Boolean)
    PopupControlContainer.IsShowing()
    PopupControlContainer.OnBeforePopup(CancelEventArgs)
    PopupControlContainer.OnCloseUp(PopupClosedEventArgs)
    PopupControlContainer.OnPopup(EventArgs)
    PopupControlContainer.DesignMode
    PopupControlContainer.DefaultSize
    PopupControlContainer.Font
    PopupControlContainer.DefaultMargin
    PopupControlContainer.FakeFocus
    PopupControlContainer.PopupHost
    PopupControlContainer.DiscreetLocation
    PopupControlContainer.ParentControl
    PopupControlContainer.PopupParent
    PopupControlContainer.IgnoreDialogKey
    PopupControlContainer.IgnoreMouseMessages
    PopupControlContainer.IgnoreKeys
    PopupControlContainer.CloseOnTab
    PopupControlContainer.EnableTouchMode
    PopupControlContainer.IPopupParent.IsRightToLeft
    PopupControlContainer.CurrentPopupChild
    PopupControlContainer.BeforeCloseUp
    PopupControlContainer.CloseUp
    PopupControlContainer.BeforePopup
    PopupControlContainer.Popup
    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
    PopupControlContainer.Dispose(Boolean)

    Explicit Interface Implementations

    IGridDropDownContainer.get_ParentControl()

    Declaration
    Control IGridDropDownContainer.get_ParentControl()
    Returns
    Type Description
    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

    Implements

    IPopupControlContainer
    IGridDropDownContainer
    IPopupChild
    INeedKeyboardMessages
    INeedMouseMoveMessages
    IMouseHookHLProcClient
    IKeyboardProcHookClient
    IPopupParent
    IPopupItem
    IQueryFocusInside
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved