WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MenuDropDown

    Show / Hide Table of Contents

    Class MenuDropDown

    MenuDropDown which is used Office Menu

    Inheritance
    System.Object
    MenuDropDown
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class MenuDropDown : ToolStripOverflow

    Constructors

    MenuDropDown(ToolStripItem)

    Constructor of the MenuDropDown.

    Declaration
    public MenuDropDown(ToolStripItem ownerItem)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItem ownerItem

    The ToolStripItem instance.

    Properties

    AuxItems

    Gets the AuxPanel item collections.

    Declaration
    public ToolStripItemCollection AuxItems { get; }
    Property Value
    Type Description
    System.Windows.Forms.ToolStripItemCollection

    AuxPanel

    Gets the AuxPanel.

    Declaration
    public MenuDropDown.Panel AuxPanel { get; }
    Property Value
    Type Description
    MenuDropDown.Panel

    DisplayedItems

    Declaration
    protected override ToolStripItemCollection DisplayedItems { get; }
    Property Value
    Type Description
    System.Windows.Forms.ToolStripItemCollection

    Items

    Gets the ToolStripItemCollection.

    Declaration
    public override ToolStripItemCollection Items { get; }
    Property Value
    Type Description
    System.Windows.Forms.ToolStripItemCollection

    LayoutEngine

    Gets a cached instance of the control's layout engine.

    Declaration
    public override LayoutEngine LayoutEngine { get; }
    Property Value
    Type Description
    System.Windows.Forms.Layout.LayoutEngine

    LayoutStyle

    Gets / Sets the Layout style.

    Declaration
    public ToolStripLayoutStyle LayoutStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.ToolStripLayoutStyle

    MainItems

    Gets the Main item collections.

    Declaration
    public ToolStripItemCollection MainItems { get; }
    Property Value
    Type Description
    System.Windows.Forms.ToolStripItemCollection

    MainPanel

    Gets the MainPanel.

    Declaration
    public MenuDropDown.Panel MainPanel { get; }
    Property Value
    Type Description
    MenuDropDown.Panel

    MaximumSize

    Gets or sets the size that is the upper limit that System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size) can specify.

    Declaration
    public override Size MaximumSize { get; set; }
    Property Value
    Type Description
    System.Drawing.Size

    MinimumSize

    Gets or sets the size that is the lower limit that System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size) can specify.

    Declaration
    public override Size MinimumSize { get; set; }
    Property Value
    Type Description
    System.Drawing.Size

    Padding

    Gets or sets padding within the control.

    Declaration
    public Padding Padding { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.Padding

    RightToLeft

    Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.

    Declaration
    public override RightToLeft RightToLeft { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.RightToLeft

    ShowItemToolTips

    Gets or sets a value indicating whether ToolTips are to be displayed on System.Windows.Forms.ToolStrip items.

    Declaration
    public bool ShowItemToolTips { get; set; }
    Property Value
    Type Description
    System.Boolean

    Site

    Gets or sets the site of the control.

    Declaration
    public override ISite Site { get; set; }
    Property Value
    Type Description
    System.ComponentModel.ISite

    The System.ComponentModel.ISite associated with the System.Windows.Forms.Control, if any.

    SystemItems

    Gets the SystemPanel item collections.

    Declaration
    public ToolStripItemCollection SystemItems { get; }
    Property Value
    Type Description
    System.Windows.Forms.ToolStripItemCollection

    SystemPanel

    Gets the SystemPanel

    Declaration
    public MenuDropDown.Panel SystemPanel { get; }
    Property Value
    Type Description
    MenuDropDown.Panel

    Methods

    GetPreferredSize(Size)

    Retrieves the size of a rectangular area into which a control can be fitted.

    Declaration
    public override Size GetPreferredSize(Size proposedSize)
    Parameters
    Type Name Description
    System.Drawing.Size proposedSize

    The custom-sized area for a control.

    Returns
    Type Description
    System.Drawing.Size

    An ordered pair of type System.Drawing.Size representing the width and height of a rectangle.

    OnItemAdded(ToolStripItemEventArgs)

    Declaration
    protected override void OnItemAdded(ToolStripItemEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItemEventArgs e

    OnLayout(LayoutEventArgs)

    Declaration
    protected override void OnLayout(LayoutEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.LayoutEventArgs e

    OnMouseCaptureChanged(EventArgs)

    Handles release of mouse capture.

    Declaration
    protected override void OnMouseCaptureChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnMouseDown(MouseEventArgs)

    Declaration
    protected override void OnMouseDown(MouseEventArgs mea)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs mea

    OnMouseLeave(EventArgs)

    Declaration
    protected override void OnMouseLeave(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnMouseMove(MouseEventArgs)

    Declaration
    protected override void OnMouseMove(MouseEventArgs mea)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs mea

    OnMouseUp(MouseEventArgs)

    Resets timers and releases mouse capture.

    Declaration
    protected override void OnMouseUp(MouseEventArgs mea)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs mea

    OnOpening(CancelEventArgs)

    Declaration
    protected override void OnOpening(CancelEventArgs e)
    Parameters
    Type Name Description
    System.ComponentModel.CancelEventArgs e

    OnPaint(PaintEventArgs)

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

    OnRendererChanged(EventArgs)

    Declaration
    protected override void OnRendererChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnSizeChanged(EventArgs)

    Declaration
    protected override void OnSizeChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    SetDisplayedItems()

    Declaration
    protected override void SetDisplayedItems()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved