Class CommandBar
Implements a container for creating dockable toolbar, statusbar and rebar type controls.
Inheritance
System.Object
CommandBar
Assembly: Syncfusion.Tools.Windows.dll
public class CommandBar : Control, IPopupParent, IPopupItem, ICommandBarDesignerInvoke, ICommandBarDesignerMouseHook
Constructors
Creates a new instance of the CommandBar class.
Declaration
Fields
Declaration
protected CommandBarDockBorder allowedBorders
Field Value
Declaration
protected bool bBackColorSet
Field Value
Declaration
protected bool bDisableDocking
Field Value
Declaration
protected bool bDisableFloating
Field Value
Declaration
protected bool bDockModeWrapping
Field Value
Declaration
protected static bool bDragging
Field Value
Declaration
protected bool bFireDockStateChanged
Field Value
Declaration
protected bool bFloatModeWrapping
Field Value
Declaration
Field Value
Declaration
protected bool bHideChevron
Field Value
Declaration
protected bool bHideCloseButton
Field Value
Declaration
protected bool bHideDropDown
Field Value
Declaration
protected bool bHideGripper
Field Value
Declaration
protected static bool bHideOnMouseUp
Field Value
Declaration
protected bool bLeadingEdge
Field Value
Declaration
protected bool bRecalcNeeded
Field Value
Declaration
protected bool bRedockNeeded
Field Value
Declaration
protected bool bRestrictedSizing
Field Value
bShowDockModeText
Declaration
protected bool bShowDockModeText
Field Value
Declaration
protected bool bTrailingEdge
Field Value
Declaration
protected bool bUpdateOffsets
Field Value
Declaration
protected bool bVisibilitySetFlag
Field Value
Declaration
Field Value
Declaration
protected CommandBarDockState cbarDockState
Field Value
Declaration
protected CommandBarDockState cbDockStateT
Field Value
Declaration
protected CBButtons cbHilight
Field Value
Declaration
protected CommandDockBar cdbParent
Field Value
Declaration
protected CommandDockBar cdbParentDrag
Field Value
Declaration
protected static Cursor crDefault
Field Value
Type |
System.Windows.Forms.Cursor |
Declaration
protected static Font ftFloatCaption
Field Value
Declaration
protected int nCommandBarHt
Field Value
Declaration
protected static int nDefaultUnitHt
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
protected int nRCCountDrag
Field Value
Declaration
Field Value
Declaration
protected int nRCIndexDrag
Field Value
Declaration
Field Value
Declaration
protected int nRowOffsetDir
Field Value
Declaration
protected int nRowOffsetDirT
Field Value
Declaration
protected int nRowOffsetDrag
Field Value
Declaration
protected int nRowOffsetInDir
Field Value
Declaration
protected int nRowOffsetInDirT
Field Value
Declaration
protected static int nSysInfoMenuFontHeight
Field Value
Declaration
protected static Point ptDeltaOff
Field Value
Type |
System.Drawing.Point |
Declaration
protected static Point ptMMWorkaround
Field Value
Type |
System.Drawing.Point |
Declaration
protected PopupMenu pupMenu
Field Value
Declaration
protected Rectangle rcFloat
Field Value
Type |
System.Drawing.Rectangle |
Declaration
protected RowMarker rMarker
Field Value
Properties
Declaration
public override bool AllowDrop { get; set; }
Property Value
Gets / sets the edges of the Form along which the CommandBar may be docked.
Declaration
public CommandBarDockBorder AllowedDockBorders { get; set; }
Property Value
Gets value indicating whether quick customizing is allowed and dropdown arrow should be drawn.
Declaration
protected virtual bool AllowQuickCustomizing { get; }
Property Value
Indicates whether the CommandBar is always docked to the leading edge.
Declaration
public bool AlwaysLeadingEdge { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE to enforce leading edge docking. The default is FALSE.
|
Indicates whether the CommandBar is always docked to the trailing edge.
Declaration
public bool AlwaysTrailingEdge { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE to enforce trailing edge docking. The default is FALSE.
|
Declaration
public override Color BackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public static int CaptionHeight { get; }
Property Value
Declaration
protected virtual Rectangle CaptionRect { get; }
Property Value
Type |
System.Drawing.Rectangle |
Gets or sets color for chevron.
Declaration
public Color ChevronColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
protected virtual Rectangle CloseButtonRect { get; }
Property Value
Type |
System.Drawing.Rectangle |
Declaration
public CommandBarController Controller { get; set; }
Property Value
Declaration
public override Cursor Cursor { get; set; }
Property Value
Type |
System.Windows.Forms.Cursor |
Declaration
protected bool DesignProcess { get; }
Property Value
Indicates whether the CommandBar is allowed to dock.
Declaration
public bool DisableDocking { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE if docking is to be disallowed. The default is FALSE.
|
Indicates whether the CommandBar is allowed to float.
Declaration
public bool DisableFloating { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE if floating is to be disallowed. The default is FALSE.
|
Indicates whether the CommandBar should wrap when docked.
Declaration
public virtual bool DockModeWrapping { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE indicates that the CommandBar will wrap. The default is FALSE.
|
Gets / sets the current dock or float state for the CommandBar.
Declaration
public CommandBarDockState DockState { get; set; }
Property Value
Declaration
protected virtual Rectangle DragStartRect { get; }
Property Value
Type |
System.Drawing.Rectangle |
Declaration
protected virtual Rectangle DropDownRect { get; }
Property Value
Type |
System.Drawing.Rectangle |
Declaration
public bool Enabled { get; set; }
Property Value
Declaration
public Rectangle FloatBounds { get; set; }
Property Value
Type |
Description |
System.Drawing.Rectangle |
A Rectangle value that represents the float bounds of the CommandBar.
|
Returns the current dock/float state of the CommandBar.
Declaration
public bool Floating { get; }
Property Value
Type |
Description |
System.Boolean |
TRUE if the CommandBar is floating.
|
Indicates whether the CommandBar should wrap when floating.
Declaration
public virtual bool FloatModeWrapping { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE indicates that the CommandBar will wrap. The default is FALSE.
|
Gets / sets the font used to display text in the control.
Declaration
public Font Font { get; set; }
Property Value
Type |
Description |
System.Drawing.Font |
A Font object.
|
Declaration
public static int FormMinWidth { get; }
Property Value
Declaration
protected virtual Rectangle GripperRect { get; }
Property Value
Type |
System.Drawing.Rectangle |
Declaration
protected virtual bool HasExternalPopupMenu { get; }
Property Value
Indicates whether the CommandBar should be drawn without a chevron.
Declaration
public virtual bool HideChevron { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE if the chevron is to be hidden. The default is FALSE.
|
Indicates whether the CommandBar will have a close button when floating.
Declaration
public bool HideCloseButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE if the close button is to be hidden. The default is FALSE.
|
Indicates whether the CommandBar's dropdown button should be hidden.
Declaration
public bool HideDropDownButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE if the dropdown button is to be hidden. The default is FALSE.
|
Indicates whether the CommandBar's positioning gripper should be hidden.
Declaration
public bool HideGripper { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE if the gripper is to be hidden. The default is FALSE.
|
Gets / sets the incremental step by which the CommandBar's lateral dimension increases when wrapped.
Declaration
public virtual int IntegralHeight { get; set; }
Property Value
Type |
Description |
System.Int32 |
An integer value representing the incremental height.
|
Indicates whether the chevron is currently displayed.
Declaration
public bool IsChevronVisible { get; }
Property Value
Type |
Description |
System.Boolean |
TRUE if the chevron is visible; FALSE otherwise
|
Declaration
protected bool IsCustomizing { get; }
Property Value
Declaration
public static bool IsDragging { get; }
Property Value
Declaration
public Point Location { get; set; }
Property Value
Type |
System.Drawing.Point |
Gets / sets the maximum(ideal) linear dimension of the CommandBar.
Declaration
public virtual int MaxLength { get; set; }
Property Value
Type |
Description |
System.Int32 |
An integer value representing the ideal length.
|
Gets / sets the ideal lateral dimension of the CommandBar.
Declaration
public virtual int MinHeight { get; set; }
Property Value
Type |
Description |
System.Int32 |
An integer value representing the minimum height.
|
Gets / sets the minimum linear dimension of the CommandBar.
Declaration
public virtual int MinLength { get; set; }
Property Value
Type |
Description |
System.Int32 |
An integer value representing the minimum length.
|
Declaration
protected virtual int nHeaderOff { get; }
Property Value
Declaration
protected virtual int nTrailBtnOff { get; }
Property Value
Indicates whether the CommandBar should occupy the entire row when docked.
Declaration
public virtual bool OccupyFullRow { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE indicates that the CommandBar will occupy the entire row. The default is FALSE.
|
Gets / sets the PopupContainer control to be displayed when the dropdown button is clicked.
Declaration
public PopupControlContainer PopupContainer { get; set; }
Property Value
Gets / sets the PopupMenu to be displayed when the dropdown button is clicked.
Declaration
public PopupMenu PopupMenu { get; set; }
Property Value
Gets / sets the index of the row/column for the CommandBar.
Declaration
public int RowIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
A zero-based integer value representing the row index.
|
Gets / sets the linear offset of the CommandBar within a row.
Declaration
public virtual int RowOffset { get; set; }
Property Value
Type |
Description |
System.Int32 |
An integer value representing the row offset.
|
ShowDockModeText
Indicates whether the text caption should be displayed on a docked CommandBar.
Declaration
public virtual bool ShowDockModeText { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE if the text is to be displayed. The default is TRUE.
|
Declaration
public Size Size { get; set; }
Property Value
Declaration
public virtual bool UseBackwardCompatiblity { get; set; }
Property Value
Returns the Virtual Bounds property - used for layout.
Declaration
protected Rectangle VBounds { get; }
Property Value
Type |
System.Drawing.Rectangle |
Declaration
public virtual bool Visible { get; set; }
Property Value
Gets / sets the Virtual Left property - used for layout.
Declaration
protected int VLeft { get; set; }
Property Value
Gets / sets the Virtual Location property - used for layout.
Declaration
protected Point VLocation { get; set; }
Property Value
Type |
System.Drawing.Point |
Gets / sets the Virtual Right property - used for layout.
Declaration
protected int VRight { get; }
Property Value
Methods
Declaration
protected virtual void AdjustChildControlBounds(ref Rectangle childBounds)
Parameters
Type |
Name |
Description |
System.Drawing.Rectangle |
childBounds |
|
Declaration
protected void AdjustRowOffsetsInParentDockBar()
Declaration
protected Rectangle CalcChildControlBounds(Size szbar)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
szbar |
|
Returns
Type |
System.Drawing.Rectangle |
Calculates the client control bounds for the specified CommandBar size and dock position.
Declaration
public Rectangle CalcChildControlBounds(Size szbar, CommandBarDockState cdb)
Parameters
Returns
Type |
Description |
System.Drawing.Rectangle |
The client control bounds.
|
Calculates the CommandBar's maximum length for the specified client width.
Declaration
public virtual int CalcCommandBarMaxLength(int nctrlwidth)
Parameters
Type |
Name |
Description |
System.Int32 |
nctrlwidth |
The client control width.
|
Returns
Type |
Description |
System.Int32 |
The maximum length estimate.
|
CalcTextLength(CommandBarDockState, Boolean)
Declaration
protected SizeF CalcTextLength(CommandBarDockState cdb, bool bmaxlength)
Parameters
Returns
Type |
System.Drawing.SizeF |
Gets the size of the floating bar.
Declaration
protected virtual Size CalculateFloatingSize()
Returns
Changes the command bar orientation.
Declaration
protected virtual void ChangeCommandBarOrientation()
Declaration
public virtual void ChildClosing(IPopupChild childUI, PopupCloseType popupCloseType)
Parameters
Declaration
protected void childctrl_ControlAdded(object sender, ControlEventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.Windows.Forms.ControlEventArgs |
e |
|
Declaration
protected void childctrl_ControlRemoved(object sender, ControlEventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.Windows.Forms.ControlEventArgs |
e |
|
Declaration
protected void childctrl_GotFocus(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Declaration
protected void childctrl_LostFocus(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
Type |
System.Windows.Forms.AccessibleObject |
Declaration
protected virtual CommandBarForm CreateFloatingForm()
Returns
Overridden. See System.Windows.Forms.Control.Dispose(System.Boolean).
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Declaration
protected virtual void DockToParent()
Declaration
protected virtual void EnterFloatMode(Point ptscreen)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
ptscreen |
|
Declaration
protected void FireCommandBarStateChanged(EventArgs args)
Parameters
Type |
Name |
Description |
System.EventArgs |
args |
|
Declaration
protected void FireCommandBarStateChanging(CommandBarStateChangingEventArgs args)
Parameters
Declaration
protected Size GetAdjustedSize(Size szmaxctrl, Size szproposedctrl)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
szmaxctrl |
|
System.Drawing.Size |
szproposedctrl |
|
Returns
Declaration
public virtual Point[] GetBorderOverlapCue(PopupRelativeAlignment rAlign)
Parameters
Returns
Type |
System.Drawing.Point[] |
Gets visual state for close button of the floating CommandBar.
Declaration
public CBButtonState GetCloseButtonState()
Returns
Declaration
protected virtual Size GetDockWrapSize(Size szbounds)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
szbounds |
|
Returns
Declaration
protected virtual Rectangle GetDropDownRect()
Returns
Type |
System.Drawing.Rectangle |
Gets visual state for DropDown button.
Declaration
public CBButtonState GetDropDownState()
Returns
Declaration
protected virtual PopupRelativeAlignment GetFirstAlignPreference()
Returns
Gets font for caption of the floating CommandBar.
Declaration
protected Font GetFloatinCaptionFont()
Returns
GetFloatingTextRectangle()
Gets rectangle for display text of the floating CommandBar.
Declaration
protected Rectangle GetFloatingTextRectangle()
Returns
Type |
System.Drawing.Rectangle |
Declaration
protected virtual Size GetFloatWrapSize(Size szbounds, CommandBarResizeType rtsize)
Parameters
Returns
Declaration
public virtual Point GetLocationForPopupAlignment(PopupRelativeAlignment prevAlign, out PopupRelativeAlignment newAlign)
Parameters
Returns
Type |
System.Drawing.Point |
Declaration
public virtual Control GetPopupParentControl()
Returns
Type |
System.Windows.Forms.Control |
GetTextRectangle()
Gets rectangle for display text of the docked CommandBar.
Declaration
protected virtual Rectangle GetTextRectangle()
Returns
Type |
System.Drawing.Rectangle |
Declaration
public void HandleDoubleClick(Point ptscreen)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
ptscreen |
|
Handles the mouse down event.
Declaration
public virtual void HandleMouseDown(MouseButtons button, Point ptscreen)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseButtons |
button |
|
System.Drawing.Point |
ptscreen |
|
Declaration
public virtual void HandleMouseLeave()
Declaration
public virtual void HandleMouseMove(MouseButtons button, Point ptscreen)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseButtons |
button |
|
System.Drawing.Point |
ptscreen |
|
Declaration
public virtual void HandleMouseUp(MouseButtons button, Point ptscreen)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseButtons |
button |
|
System.Drawing.Point |
ptscreen |
|
Declaration
protected virtual void HideDropDown()
Declaration
protected virtual void InitializeCommandBar()
Declaration
protected static void InitializeFloatCaptionFont()
Declaration
public void InitiateFloatingResize(Point ptscreen, int nchittest)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
ptscreen |
|
System.Int32 |
nchittest |
|
Declaration
public virtual bool IsRelatedControl(Control control, bool askPopupParent)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Control |
control |
|
System.Boolean |
askPopupParent |
|
Returns
Indicates whether the chevron must be displayed.
Declaration
protected bool IsShowChevron()
Returns
Declaration
protected virtual bool IsShowingDropDown()
Returns
IsShowText()
Indicates whether the text must be displayed.
Declaration
protected bool IsShowText()
Returns
Declaration
public virtual void MenuColorsChanged(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Declaration
protected virtual void OnCommandBarDropDownClicked(EventArgs arg)
Parameters
Type |
Name |
Description |
System.EventArgs |
arg |
An System.EventArgs value that contains the event data.
|
Declaration
protected virtual void OnCommandBarStateChanged(EventArgs arg)
Parameters
Type |
Name |
Description |
System.EventArgs |
arg |
An System.EventArgs value that contains the event data.
|
Declaration
protected virtual void OnCommandBarStateChanging(CommandBarStateChangingEventArgs arg)
Parameters
Declaration
protected virtual void OnCommandBarUserClosed(EventArgs arg)
Parameters
Type |
Name |
Description |
System.EventArgs |
arg |
An System.EventArgs value that contains the event data.
|
Declaration
protected virtual void OnCommandBarWrapping(CommandBarWrappingEventArgs arg)
Parameters
Overridden. See System.Windows.Forms.Control.OnControlAdded(System.Windows.Forms.ControlEventArgs).
Declaration
protected override void OnControlAdded(ControlEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ControlEventArgs |
e |
|
Overridden. See System.Windows.Forms.Control.OnControlRemoved(System.Windows.Forms.ControlEventArgs).
Declaration
protected override void OnControlRemoved(ControlEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ControlEventArgs |
e |
|
Overridden. See System.Windows.Forms.Control.OnDoubleClick(System.EventArgs).
Declaration
protected override void OnDoubleClick(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Overridden. See System.Windows.Forms.Control.OnMouseDown(System.Windows.Forms.MouseEventArgs).
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Overridden. See System.Windows.Forms.Control.OnMouseLeave(System.EventArgs).
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Overridden. See System.Windows.Forms.Control.OnMouseMove(System.Windows.Forms.MouseEventArgs).
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Overridden. See System.Windows.Forms.Control.OnMouseUp(System.Windows.Forms.MouseEventArgs).
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Overridden. See System.Windows.Forms.Control.OnPaint(System.Windows.Forms.PaintEventArgs).
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
|
Declaration
protected virtual void OnPopupClosed(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Declaration
protected override void OnRightToLeftChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Overridden. See System.Windows.Forms.Control.OnSystemColorsChanged(System.EventArgs).
Declaration
protected override void OnSystemColorsChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
OnTextChanged(EventArgs)
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnVisibleChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void RecalcIfNeeded()
Declaration
public void RecSubscribeChildControlEvents(Control ctrl, bool subscribe)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Control |
ctrl |
|
System.Boolean |
subscribe |
|
Declaration
protected virtual void RedockIfNeeded()
Declaration
public override void ResetBackColor()
Declaration
public override void ResetCursor()
Resets the Font property to it's default value.
Declaration
public override void ResetFont()
Declaration
protected void ResetTempDefaults()
Overridden. See System.Windows.Forms.Control.SetBoundsCore(System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Forms.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 |
|
Declaration
protected virtual void SetChildControlBounds()
Declaration
protected virtual void SetCommandBarBoundsCore(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
protected bool SetCommandBarSize(int nwidth, int nheight)
Parameters
Type |
Name |
Description |
System.Int32 |
nwidth |
|
System.Int32 |
nheight |
|
Returns
Sets renderer for CommandBar.
Declaration
protected virtual void SetRenderer()
Declaration
protected bool ShouldCreateNewRow()
Returns
Declaration
protected virtual bool ShouldDrawThemed()
Returns
Declaration
protected bool ShouldSerializeBackColor()
Returns
Declaration
protected bool ShouldSerializeCursor()
Returns
Declaration
protected bool ShouldSerializeFloatBounds()
Returns
Declaration
protected bool ShouldSerializeFont()
Returns
Declaration
protected bool ShouldSerializeRowIndex()
Returns
Declaration
protected bool ShouldSerializeRowOffset()
Returns
Declaration
protected virtual bool ShowDropDown()
Returns
Events
Occurs when the dropdown button on a CommandBar is clicked.
Declaration
public event EventHandler CommandBarDropDownClicked
Event Type
Occurs after a CommandBar's dock/float state changes.
Declaration
public event EventHandler CommandBarStateChanged
Event Type
Occurs when a CommandBar's dock/float state is about to change.
Declaration
public event CommandBarStateChangingEventHandler CommandBarStateChanging
Event Type
Occurs when a floating CommandBar is hidden by the user.
Declaration
public event EventHandler CommandBarUserClosed
Event Type
Declaration
public event CommandBarWrappingEventHandler CommandBarWrapping
Event Type
Explicit Interface Implementations
Declaration
bool IPopupParent.IsRightToLeft { get; }
Returns
Declaration
bool ICommandBarDesignerInvoke.CommandBarBaseVisibility { get; set; }
Returns
Declaration
CommandDockBar ICommandBarDesignerInvoke.GetCommandDockBarParent()
Returns
Declaration
void ICommandBarDesignerInvoke.SetChildControlBounds()
Implements
See Also