[]
Window's main menu control.
[ToolboxBitmap(typeof(C1MainMenu), "C1MainMenu.png")]
[C1Description("C1MainMenu", "Creates main menu of a form.")]
public class C1MainMenu : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportSuperTooltip
Name | Description |
---|---|
C1MainMenu() | Initializes a new instance of the C1MainMenu class. |
Name | Description |
---|---|
BackColor | Gets or sets the background color of the C1MainMenu. |
BackHiColor | Gets or sets the background color of the highlighted item. |
BackImageInImageBar | Gets or sets the value indicating whether to show background image in the image bar of dropdown menus. |
CanMerge | Gets or sets the value indicating whether to merge MDI child menu with MDI parent menu. |
CloseMoreOnItemClick | Gets or sets the value indicating whether the menu that is automatically created when some items do not fit on the toolbar closes when an item on that menu is clicked. |
CommandLinks | Gets the collection of commandlinks. |
FilterAccessKeys | Gets or sets whether the filter main menu access keys. |
Font | Gets or sets the font of the C1MainMenu. |
ForeHiColor | Gets or sets the text color of the highlighted item. |
HideFirstDelimiter | Gets or sets a value indicating whether the control should hide the first delimiter. |
ShowToolTips | Gets or sets the value indicating whether to show tooltip texts when mouse cursor is over menu item. |
SuperTooltip | |
VisualStyle | Gets or sets the visual style of the control. |
Wrap | Gets or sets the value indicating whether to wrap the menu or show a "More..." button if not all items fit on a single line. |
Name | Description |
---|---|
CreateAccessibilityInstance() | |
Dispose(bool) | Releases the resources used by the C1MainMenu. |
IC1GetAmbientRootSource(string) | Get active holder of current VisualStyle. |
InitLayout() | This method is for internal use only. |
OnBackColorChanged(EventArgs) | This method is for internal use only. |
OnBackHiColorChanged(EventArgs) | This method is for internal use only. |
OnBackgroundImageChanged(EventArgs) | This method is for internal use only. |
OnBackgroundImageLayoutChanged(EventArgs) | This method is for internal use only. |
OnCanMergeChanged(EventArgs) | This method is for internal use only. |
OnForeColorChanged(EventArgs) | This method is for internal use only. |
OnForeHiColorChanged(EventArgs) | This method is for internal use only. |
OnLayout(LayoutEventArgs) | This method is for internal use only. |
OnLocationChanged(EventArgs) | This method is for internal use only. |
OnMouseDown(MouseEventArgs) | This method is for internal use only. |
OnMouseEnter(EventArgs) | This method is for internal use only. |
OnMouseHover(EventArgs) | This method is for internal use only. |
OnMouseLeave(EventArgs) | This method is for internal use only. |
OnMouseMove(MouseEventArgs) | This method is for internal use only. |
OnMouseUp(MouseEventArgs) | This method is for internal use only. |
OnMouseWheel(MouseEventArgs) | This method is for internal use only. |
OnPaddingChanged(EventArgs) | This method is for internal use only. |
OnPaint(PaintEventArgs) | This method is for internal use only. |
OnParentChanged(EventArgs) | This method is for internal use only. |
OnResize(EventArgs) | This method is for internal use only. |
OnRightToLeftChanged(EventArgs) | This method is for internal use only. |
OnShowToolTipsChanged(EventArgs) | This method is for internal use only. |
OnSystemColorsChanged(EventArgs) | This method is for internal use only. |
OnVisualStyleChanged(EventArgs) | Invokes the VisualStyleChanged event. |
OnWrapChanged(EventArgs) | This method is for internal use only. |
ResetBackColor() | This method is for internal use only. |
ResetBackHiColor() | This method is for internal use only. |
ResetFont() | This method is for internal use only. |
ResetForeHiColor() | This method is for internal use only. |
ResetVisualStyle() | Restore the VisualStyle property to its default value. |
ShouldSerializeBackColor() | This method is for internal use only. |
ShouldSerializeBackHiColor() | This method is for internal use only. |
ShouldSerializeFont() | This method is for internal use only. |
ShouldSerializeForeHiColor() | This method is for internal use only. |
ShouldSerializeShowToolTips() | Indicates whether the ShowToolTips has a default value. |
ShouldSerializeSuperTooltip() | Indicates whether the SuperTooltip has a default value. |
ShouldSerializeVisualStyle() | Indicates whether the VisualStyle has a default value. |
ShouldSerializeVisualStyleBase() | Indicates whether the C1.Win.C1Command.C1MainMenu.VisualStyleBase has a default value. |
Name | Description |
---|---|
BackHiColorChanged | Occurs when the value of the BackHiColor property changes. |
CanMergeChanged | Occurs when the value of the CanMerge property changes. |
CurrentLinkChanged | Occurs when the current command link changes. |
DrawBar | Occurs when the owner-drawn menu should be redrawn. |
DrawLink | Occurs when the owner-drawn C1CommandLink should be redrawn. |
ForeHiColorChanged | Occurs when the value of the ForeHiColor property changes. |
LayoutLink | Occurs when an OwnerDraw command link needs to layout its text, image and control within the link bounds. |
MeasureLink | Occurs when it is necessary to measure the owner-drawn link. |
ShowToolTipsChanged | Occurs when the value of the ShowToolTips property changes. |
VisualStyleChanged | Occurs when the VisualStyle property has changed. |
WrapChanged | Occurs when the value of the Wrap property changes. |