Inheritance
System.Object
MenuGridHost
Assembly: Syncfusion.Tools.Windows.dll
public class MenuGridHost : PopupHost, IIgnoreWorkingArea
Constructors
Declaration
Fields
Declaration
protected const int ScrollHeight = 19
Field Value
Properties
Declaration
protected override CreateParams CreateParams { get; }
Property Value
Type |
System.Windows.Forms.CreateParams |
Overrides
Declaration
public override bool NeedShadow { get; set; }
Property Value
Overrides
Declaration
protected bool PartialMenusOn { get; set; }
Property Value
Methods
Declaration
protected override void ComputeControlLocation()
Overrides
Declaration
protected override void ComputeMySize()
Overrides
Declaration
protected override Point GetAdjustedLocation(Point loc)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
loc |
|
Returns
Type |
System.Drawing.Point |
Overrides
Declaration
public bool IsRelatedControl(Control control, bool askParent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Control |
control |
|
System.Boolean |
askParent |
|
Returns
Declaration
protected override void OnDeactivate(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Overrides
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
|
Overrides
Declaration
protected override void OnVisibleChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Overrides
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 |
|
Declaration
public void ShowMenu(MenuGrid menuGrid, Size prefSize, bool partialMenusOn)
Parameters
Type |
Name |
Description |
MenuGrid |
menuGrid |
|
System.Drawing.Size |
prefSize |
|
System.Boolean |
partialMenusOn |
|
Declaration
public override void ShowPopup()
Overrides
Declaration
public void UpdateScrollStates(bool heightChanged)
Parameters
Type |
Name |
Description |
System.Boolean |
heightChanged |
|
Declaration
protected override void WndProc(ref Message m)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Message |
m |
|
Overrides
Implements