public inline nothrow wchar |
AccessKey() const |
public void |
AddMenuItem(MenuItemBase* menuItem) |
public void |
CalculateChildRect(Graphics& graphics, const Font& font, const StringFormat& format, const Point& location) |
public virtual nothrow int |
ChildIndicatorIndent() const |
public virtual nothrow int |
ChildIndicatorWidth() const |
public nothrow const Container& |
Children() const |
public nothrow Event<ClickEventHandler, EmptyEventArgs>& |
ClickEvent() |
private void |
Close(MenuControl* menuControl) |
internal nothrow void |
CollectShortcuts(HashMap<Keys, MenuItem*, Hasher<Keys>, EqualTo<Keys>>& shortcuts) |
public nothrow bool |
Contains(const Point& p) |
public override nothrow Padding |
DefaultPadding() const |
public nothrow void |
Disable() |
internal void |
DispatchMouseMove(MouseEventArgs& args, bool& handled, MenuControl* menuControl) |
internal void |
DoClick() |
private void |
DoMouseDown(MouseEventArgs& args, MenuControl* menuControl) |
internal void |
DoMouseDown(MouseEventArgs& args, bool& handled, MenuControl* menuControl) |
internal void |
DoMouseEnter(bool parentIsOpen, MenuControl* menuControl) |
internal void |
DoMouseLeave(MenuControl* menuControl) |
internal void |
DoMouseMove(MouseEventArgs& args) |
private void |
DoMouseUp(MouseEventArgs& args, MenuControl* menuControl) |
internal void |
DoMouseUp(MouseEventArgs& args, bool& handled, MenuControl* menuControl) |
public override void |
Draw(Graphics& graphics, const Padding& parentPadding, const Brush& textBrush, const Brush& disabledTextBrush, const Brush& backgroundBrush, const Brush& mouseOverBrush, const Brush& menuOpenBrush, const Brush& shadowBrush, const Brush& blackBrush, const Pen& blackPen, const Pen& darkPen, const Font& font, const StringFormat& format, const Color& menuOpenColor, MenuControl* menuControl, bool drawSubItems, const Point& origin) |
private void |
DrawChildIndicator(Graphics& graphics, const Brush& blackBrush, const Point& origin) |
private void |
DrawClosed(Graphics& graphics, const Padding& parentPadding, const Brush& textBrush, const Brush& disabledTextBrush, const Brush& mouseOverBrush, const Brush& backgroundBrush, const Brush& menuOpenBrush, const Brush& blackBrush, const Pen& blackPen, const Font& font, const StringFormat& format, const Color& menuOpenColor, MenuControl* menuControl, bool drawSubItems, const Point& origin) |
private void |
DrawOpen(Graphics& graphics, const Padding& parentPadding, const Brush& textBrush, const Brush& disabledTextBrush, const Brush& backgroundBrush, const Brush& mouseOverBrush, const Brush& menuOpenBrush, const Brush& shadowBrush, const Brush& blackBrush, const Pen& blackPen, const Pen& darkPen, const Font& font, const StringFormat& format, const Color& menuOpenColor, MenuControl* menuControl, bool drawSubItems, const Point& origin) |
private void |
DrawShortcut(Graphics& graphics, const Brush& textBrush, const Font& font, const StringFormat& format, const Point& origin) |
public nothrow void |
Enable() |
private void |
Execute(MenuItem* parentMenuItem, bool& wantsKeys, MenuControl* menuControl) |
private nothrow MenuItem* |
GetChildItemByAccessKey(wchar accessKey) |
public nothrow MenuItem* |
GetFirstMenuItem() const |
public nothrow MenuItem* |
GetLastMenuItem() const |
private nothrow MenuControl* |
GetMenuControl() const |
public nothrow MenuItem* |
GetNextMenuItem() const |
public nothrow void |
GetOpenRect(Rect& parentRect) |
public nothrow MenuItem* |
GetParentMenuItem() const |
public nothrow MenuItem* |
GetPrevMenuItem() const |
public inline nothrow State |
GetState() const |
internal bool |
HandleKey(Keys key, bool& wantsKeys, MenuItem* parentMenuItem, MenuControl* menuControl) |
public inline nothrow bool |
IsDisabled() const |
public inline nothrow bool |
IsEnabled() const |
internal nothrow bool |
IsSameOrParentOf(MenuItem* menuItem) const |
private inline nothrow bool |
LButtonPressed() const |
internal void |
LeaveChildren(MenuControl* menuControl) |
public override Size |
MeasureItem(Graphics& graphics, const Font& font, const StringFormat& format, int& shortcutFieldWidth, int& childIndicatorFieldWidth) |
public nothrow Event<MouseEventHandler, MouseEventArgs>& |
MouseDownEvent() |
public nothrow Event<MouseEnterEventHandler, EmptyEventArgs>& |
MouseEnterEvent() |
internal inline nothrow bool |
MouseInClient() const |
public nothrow Event<MouseLeaveEventHandler, EmptyEventArgs>& |
MouseLeaveEvent() |
public nothrow Event<MouseEventHandler, MouseEventArgs>& |
MouseMoveEvent() |
public nothrow Event<MouseEventHandler, MouseEventArgs>& |
MouseUpEvent() |
protected virtual void |
OnClick() |
protected virtual void |
OnMouseDown(MouseEventArgs& args) |
protected virtual void |
OnMouseEnter() |
protected virtual void |
OnMouseLeave() |
protected virtual void |
OnMouseMove(MouseEventArgs& args) |
protected virtual void |
OnMouseUp(MouseEventArgs& args) |
private nothrow void |
ResetLButtonPressed() |
internal void |
ResetMouseInClient() |
internal nothrow void |
ResetSelected(MenuControl* menuControl) |
internal inline nothrow bool |
Selected() const |
private nothrow void |
SetAccessKey() |
private nothrow void |
SetLButtonPressed() |
internal void |
SetMouseInClient() |
internal nothrow void |
SetSelected(MenuControl* menuControl) |
public nothrow void |
SetShortcut(Keys shortcut_) |
internal void |
SetState(State state_, MenuControl* menuControl) |
public nothrow void |
SetText(const String<char>& text_, MenuControl* menuControl) |
public virtual nothrow int |
ShadowWidth() const |
public nothrow Padding |
ShortcutPadding() const |
public nothrow const String<char>& |
Text() const |
public inline nothrow const Rect& |
UnionRect() const |
public nothrow bool |
UnionRectContains(const Point& p) |