MenuDropDown which is used Office Menu
Inheritance
System.Object
MenuDropDown
Assembly: Syncfusion.Tools.Windows.dll
public class MenuDropDown : ToolStripOverflow
Constructors
Constructor of the MenuDropDown.
Declaration
public MenuDropDown(ToolStripItem ownerItem)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItem |
ownerItem |
The ToolStripItem instance.
|
Properties
Gets the AuxPanel item collections.
Declaration
public ToolStripItemCollection AuxItems { get; }
Property Value
Type |
System.Windows.Forms.ToolStripItemCollection |
Declaration
public MenuDropDown.Panel AuxPanel { get; }
Property Value
Declaration
protected override ToolStripItemCollection DisplayedItems { get; }
Property Value
Type |
System.Windows.Forms.ToolStripItemCollection |
Gets the ToolStripItemCollection.
Declaration
public override ToolStripItemCollection Items { get; }
Property Value
Type |
System.Windows.Forms.ToolStripItemCollection |
Gets a cached instance of the control's layout engine.
Declaration
public override LayoutEngine LayoutEngine { get; }
Property Value
Type |
System.Windows.Forms.Layout.LayoutEngine |
Gets / Sets the Layout style.
Declaration
public ToolStripLayoutStyle LayoutStyle { get; set; }
Property Value
Type |
System.Windows.Forms.ToolStripLayoutStyle |
MainItems
Gets the Main item collections.
Declaration
public ToolStripItemCollection MainItems { get; }
Property Value
Type |
System.Windows.Forms.ToolStripItemCollection |
MainPanel
Declaration
public MenuDropDown.Panel MainPanel { get; }
Property Value
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
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
Gets or sets padding within the control.
Declaration
public Padding Padding { get; set; }
Property Value
Type |
System.Windows.Forms.Padding |
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 |
System.Windows.Forms.RightToLeft |
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
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.
|
Gets the SystemPanel item collections.
Declaration
public ToolStripItemCollection SystemItems { get; }
Property Value
Type |
System.Windows.Forms.ToolStripItemCollection |
Declaration
public MenuDropDown.Panel SystemPanel { get; }
Property Value
Methods
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.
|
Declaration
protected override void OnItemAdded(ToolStripItemEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemEventArgs |
e |
|
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.LayoutEventArgs |
e |
|
Handles release of mouse capture.
Declaration
protected override void OnMouseCaptureChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnMouseDown(MouseEventArgs mea)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
mea |
|
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnMouseMove(MouseEventArgs mea)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
mea |
|
Resets timers and releases mouse capture.
Declaration
protected override void OnMouseUp(MouseEventArgs mea)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
mea |
|
Declaration
protected override void OnOpening(CancelEventArgs e)
Parameters
Type |
Name |
Description |
System.ComponentModel.CancelEventArgs |
e |
|
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
|
Declaration
protected override void OnRendererChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void SetDisplayedItems()