Class CommandBarExt
Inheritance
System.Object
CommandBarExt
Assembly: Syncfusion.Tools.Windows.dll
public class CommandBarExt : CommandBar, IPopupParent, IPopupItem, ICommandBarDesignerInvoke, ICommandBarDesignerMouseHook, IBarHost, ICanCancel
Constructors
Declaration
public CommandBarExt(CommandBarManager manager)
Parameters
Properties
Declaration
protected override bool AllowQuickCustomizing { get; }
Property Value
Overrides
Declaration
public Bar Bar { get; set; }
Property Value
Declaration
public BarControlInternal BarControl { get; }
Property Value
Type |
Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal |
Declaration
protected override bool HasExternalPopupMenu { get; }
Property Value
Overrides
IsMainMenu
Declaration
protected bool IsMainMenu { get; }
Property Value
Declaration
public bool NeedLayout { get; }
Property Value
Declaration
public override bool Visible { get; set; }
Property Value
Overrides
Methods
Declaration
protected override void AdjustChildControlBounds(ref Rectangle childBounds)
Parameters
Type |
Name |
Description |
System.Drawing.Rectangle |
childBounds |
|
Overrides
Declaration
public override int CalcCommandBarMaxLength(int nctrlwidth)
Parameters
Type |
Name |
Description |
System.Int32 |
nctrlwidth |
|
Returns
Overrides
Declaration
protected override Size CalculateFloatingSize()
Returns
Overrides
Declaration
protected override CommandBarForm CreateFloatingForm()
Returns
Overrides
Declaration
public void DetachCurBarControl()
Declaration
protected virtual void DetermineIntermediateHeights(SizeF minSize, SizeF maxSize)
Parameters
Type |
Name |
Description |
System.Drawing.SizeF |
minSize |
|
System.Drawing.SizeF |
maxSize |
|
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
Declaration
protected override void EnterFloatMode(Point ptscreen)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
ptscreen |
|
Overrides
Declaration
protected override Size GetDockWrapSize(Size szbounds)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
szbounds |
|
Returns
Overrides
Declaration
protected override Size GetFloatWrapSize(Size szbounds, CommandBarResizeType rtsize)
Parameters
Returns
Overrides
Declaration
public override void MenuColorsChanged(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Overrides
Declaration
public void MoveMenuNavigation(bool forward)
Parameters
Type |
Name |
Description |
System.Boolean |
forward |
|
Declaration
public void OnBarBoundsChanged()
Declaration
public void OnBarChanged()
Declaration
protected override void OnCommandBarStateChanged(EventArgs args)
Parameters
Type |
Name |
Description |
System.EventArgs |
args |
|
Overrides
Declaration
protected override void OnCommandBarUserClosed(EventArgs arg)
Parameters
Type |
Name |
Description |
System.EventArgs |
arg |
|
Overrides
Declaration
protected override void OnFontChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnLocationChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
|
Overrides
Declaration
protected override void OnPaintBackground(PaintEventArgs pevent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
pevent |
|
Declaration
protected override void OnParentChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnPopupClosed(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Overrides
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
public bool ProcessShortcut(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Declaration
protected virtual void RecalcBarLayout(bool forceRecalc, bool dontRecalc)
Parameters
Type |
Name |
Description |
System.Boolean |
forceRecalc |
|
System.Boolean |
dontRecalc |
|
Declaration
public void ResumeRecalc(bool recalcIfNecessary)
Parameters
Type |
Name |
Description |
System.Boolean |
recalcIfNecessary |
|
Declaration
protected override bool ShouldDrawThemed()
Returns
Overrides
Declaration
protected override bool ShowDropDown()
Returns
Overrides
Declaration
public void SuspendRecalc()
Declaration
protected override void WndProc(ref Message m)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Message |
m |
|
Explicit Interface Implementations
Declaration
void ICanCancel.CancelOperation()
Implements