menu

WinForms

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

    Show / Hide Table of Contents

    Class MenuGridHost

    Inheritance
    System.Object
    TopLevelWindow
    DropDownWindow
    PopupHost
    MenuGridHost
    Implements
    IIgnoreWorkingArea
    Inherited Members
    PopupHost.AdjustLocationForAlignment(Point, PopupRelativeAlignment)
    PopupHost.AttachPopup()
    PopupHost.BorderGap
    PopupHost.ComputeLayout()
    PopupHost.ComputeMyLocation()
    PopupHost.CreateShadow()
    PopupHost.CurrentRAlign
    PopupHost.DetachPopup()
    PopupHost.Dispose(Boolean)
    PopupHost.GetIsMirrored()
    PopupHost.HidePopup()
    PopupHost.IgnoreWorkingArea
    PopupHost.IsShowing()
    PopupHost.OnHandleCreated(EventArgs)
    PopupHost.OnLocationChanged(EventArgs)
    PopupHost.OnSizeChanged(EventArgs)
    PopupHost.OverlapBorderColor
    PopupHost.PopupControl
    PopupHost.PopupControlContainer
    PopupHost.ResumeLayout(Boolean)
    PopupHost.Shadow
    PopupHost.SuspendLayout()
    PopupHost.UpdateVisibility()
    TopLevelWindow.ShowWindowTopMost()
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class MenuGridHost : PopupHost, IIgnoreWorkingArea

    Constructors

    MenuGridHost()

    Declaration
    public MenuGridHost()

    Fields

    ScrollHeight

    Declaration
    protected const int ScrollHeight = 19
    Field Value
    Type
    System.Int32

    Properties

    CreateParams

    Declaration
    protected override CreateParams CreateParams { get; }
    Property Value
    Type
    System.Windows.Forms.CreateParams
    Overrides
    DropDownWindow.CreateParams

    NeedShadow

    Declaration
    public override bool NeedShadow { get; set; }
    Property Value
    Type
    System.Boolean
    Overrides
    PopupHost.NeedShadow

    PartialMenusOn

    Declaration
    protected bool PartialMenusOn { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    ComputeControlLocation()

    Declaration
    protected override void ComputeControlLocation()
    Overrides
    PopupHost.ComputeControlLocation()

    ComputeMySize()

    Declaration
    protected override void ComputeMySize()
    Overrides
    PopupHost.ComputeMySize()

    GetAdjustedLocation(Point)

    Declaration
    protected override Point GetAdjustedLocation(Point loc)
    Parameters
    Type Name Description
    System.Drawing.Point loc
    Returns
    Type
    System.Drawing.Point
    Overrides
    PopupHost.GetAdjustedLocation(Point)

    IsRelatedControl(Control, Boolean)

    Declaration
    public bool IsRelatedControl(Control control, bool askParent)
    Parameters
    Type Name Description
    System.Windows.Forms.Control control
    System.Boolean askParent
    Returns
    Type
    System.Boolean

    OnDeactivate(EventArgs)

    Declaration
    protected override void OnDeactivate(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    PopupHost.OnDeactivate(EventArgs)

    OnPaint(PaintEventArgs)

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e
    Overrides
    PopupHost.OnPaint(PaintEventArgs)

    OnVisibleChanged(EventArgs)

    Declaration
    protected override void OnVisibleChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    PopupHost.OnVisibleChanged(EventArgs)

    SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)

    Declaration
    protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
    Parameters
    Type Name Description
    System.Int32 x
    System.Int32 y
    System.Int32 width
    System.Int32 height
    System.Windows.Forms.BoundsSpecified specified

    ShowMenu(MenuGrid, Size, Boolean)

    Declaration
    public void ShowMenu(MenuGrid menuGrid, Size prefSize, bool partialMenusOn)
    Parameters
    Type Name Description
    MenuGrid menuGrid
    System.Drawing.Size prefSize
    System.Boolean partialMenusOn

    ShowPopup()

    Declaration
    public override void ShowPopup()
    Overrides
    PopupHost.ShowPopup()

    UpdateScrollStates(Boolean)

    Declaration
    public void UpdateScrollStates(bool heightChanged)
    Parameters
    Type Name Description
    System.Boolean heightChanged

    WndProc(ref Message)

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m
    Overrides
    PopupHost.WndProc(ref Message)

    Implements

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