MenuControl Abstract Class

Definition

Line 72 of System.Windows/Menu.cm

Inheritance

Constructors & Destructor

public MenuControl(MenuControlCreateParams& createParams)
public MenuControl(const Font& font_, const String<char>& windowClassName, WindowClassStyle windowClassStyle, WindowStyle style, ExtendedWindowStyle exStyle, const Color& backgroundColor, const String<char>& text, const Point& location, const Size& size, Dock dock, Anchors anchors)

Member Functions

public inline nothrow const Brush& BackgroundBrush() const
public inline nothrow const Brush& BlackBrush() const
public inline nothrow const Pen& BlackPen() const
public inline nothrow const Pen& DarkPen() const
public override nothrow Padding DefaultPadding() const
public inline nothrow const Brush& DisabledTextBrush() const
public inline nothrow const Color& DisabledTextColor() const
public inline nothrow const StringFormat& Format() const
internal virtual nothrow MenuItem* GetFirstMenuItem() const
public inline nothrow const Font& GetFont() const
internal virtual nothrow MenuItem* GetLastMenuItem() const
internal virtual nothrow MenuItem* GetLatestMouseDownMenuItem() const
internal virtual nothrow MenuItem* GetMenuItemByAccessKey(wchar accessKey)
internal virtual nothrow MenuItem* GetOpenedMenuItem() const
internal virtual nothrow MenuItem* GetSelectedMenuItem() const
internal virtual void InvalidateMenu()
internal virtual nothrow bool IsOpen() const
internal virtual nothrow MenuItem* LatestOpenedMenuItem() const
public inline nothrow const Brush& MenuOpenBrush() const
public inline nothrow const Color& MenuOpenColor() const
public inline nothrow const Brush& MouseOverBrush() const
public inline nothrow const Color& MouseOverColor() const
internal virtual nothrow void SetClosed()
internal virtual nothrow void SetLatestMouseDownMenuItem(MenuItem* menuItem)
internal virtual nothrow void SetLatestOpenedMenuItem(MenuItem* menuItem)
internal virtual nothrow void SetMenuChanged()
internal virtual nothrow void SetMenuInvalidated()
public virtual nothrow void SetOpen()
internal virtual nothrow void SetSelectedMenuItem(MenuItem* selectedMenuItem_)
public inline nothrow const Brush& ShadowBrush() const
public inline nothrow const Color& ShadowColor() const
public inline nothrow const Brush& TextBrush() const
public inline nothrow const Color& TextColor() const

Member Variables

private SolidBrush backgroundBrush
private SolidBrush blackBrush
private Pen blackPen
private Pen darkPen
private SolidBrush disabledTextBrush
private Color disabledTextColor
private Font font
private StringFormat format
private SolidBrush menuOpenBrush
private Color menuOpenColor
private SolidBrush mouseOverBrush
private Color mouseOverColor
private SolidBrush shadowBrush
private Color shadowColor
private SolidBrush textBrush
private Color textColor

Constructor& Destructor Details

MenuControl Constructor

public MenuControl(MenuControlCreateParams& createParams)

Definition
Line 85 of System.Windows/Menu.cm


MenuControl Constructor

public MenuControl(const Font& font_, const String<char>& windowClassName, WindowClassStyle windowClassStyle, WindowStyle style, ExtendedWindowStyle exStyle, const Color& backgroundColor, const String<char>& text, const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 74 of System.Windows/Menu.cm


Member Function Details

BackgroundBrush Member Function

public inline nothrow const Brush& BackgroundBrush()

Definition
Line 135 of System.Windows/Menu.cm


BlackBrush Member Function

public inline nothrow const Brush& BlackBrush()

Definition
Line 151 of System.Windows/Menu.cm


BlackPen Member Function

public inline nothrow const Pen& BlackPen()

Definition
Line 155 of System.Windows/Menu.cm


DarkPen Member Function

public inline nothrow const Pen& DarkPen()

Definition
Line 159 of System.Windows/Menu.cm


DefaultPadding Member Function

public override nothrow Padding DefaultPadding()

Definition
Line 99 of System.Windows/Menu.cm


DisabledTextBrush Member Function

public inline nothrow const Brush& DisabledTextBrush()

Definition
Line 131 of System.Windows/Menu.cm


DisabledTextColor Member Function

public inline nothrow const Color& DisabledTextColor()

Definition
Line 111 of System.Windows/Menu.cm


Format Member Function

public inline nothrow const StringFormat& Format()

Definition
Line 163 of System.Windows/Menu.cm


GetFirstMenuItem Member Function

internal virtual nothrow MenuItem* GetFirstMenuItem()

Definition
Line 195 of System.Windows/Menu.cm


GetFont Member Function

public inline nothrow const Font& GetFont()

Definition
Line 103 of System.Windows/Menu.cm


GetLastMenuItem Member Function

internal virtual nothrow MenuItem* GetLastMenuItem()

Definition
Line 199 of System.Windows/Menu.cm


GetLatestMouseDownMenuItem Member Function

internal virtual nothrow MenuItem* GetLatestMouseDownMenuItem()

Definition
Line 210 of System.Windows/Menu.cm


GetMenuItemByAccessKey Member Function

internal virtual nothrow MenuItem* GetMenuItemByAccessKey(wchar accessKey)

Definition
Line 167 of System.Windows/Menu.cm


GetOpenedMenuItem Member Function

internal virtual nothrow MenuItem* GetOpenedMenuItem()

Definition
Line 171 of System.Windows/Menu.cm


GetSelectedMenuItem Member Function

internal virtual nothrow MenuItem* GetSelectedMenuItem()

Definition
Line 175 of System.Windows/Menu.cm


InvalidateMenu Member Function

internal virtual void InvalidateMenu()

Definition
Line 217 of System.Windows/Menu.cm


IsOpen Member Function

internal virtual nothrow bool IsOpen()

Definition
Line 182 of System.Windows/Menu.cm


LatestOpenedMenuItem Member Function

internal virtual nothrow MenuItem* LatestOpenedMenuItem()

Definition
Line 203 of System.Windows/Menu.cm


MenuOpenBrush Member Function

public inline nothrow const Brush& MenuOpenBrush()

Definition
Line 143 of System.Windows/Menu.cm


MenuOpenColor Member Function

public inline nothrow const Color& MenuOpenColor()

Definition
Line 119 of System.Windows/Menu.cm


MouseOverBrush Member Function

public inline nothrow const Brush& MouseOverBrush()

Definition
Line 139 of System.Windows/Menu.cm


MouseOverColor Member Function

public inline nothrow const Color& MouseOverColor()

Definition
Line 115 of System.Windows/Menu.cm


SetClosed Member Function

internal virtual nothrow void SetClosed()

Definition
Line 189 of System.Windows/Menu.cm


SetLatestMouseDownMenuItem Member Function

internal virtual nothrow void SetLatestMouseDownMenuItem(MenuItem* menuItem)

Definition
Line 214 of System.Windows/Menu.cm


SetLatestOpenedMenuItem Member Function

internal virtual nothrow void SetLatestOpenedMenuItem(MenuItem* menuItem)

Definition
Line 207 of System.Windows/Menu.cm


SetMenuChanged Member Function

internal virtual nothrow void SetMenuChanged()

Definition
Line 220 of System.Windows/Menu.cm


SetMenuInvalidated Member Function

internal virtual nothrow void SetMenuInvalidated()

Definition
Line 192 of System.Windows/Menu.cm


SetOpen Member Function

public virtual nothrow void SetOpen()

Definition
Line 186 of System.Windows/Menu.cm


SetSelectedMenuItem Member Function

internal virtual nothrow void SetSelectedMenuItem(MenuItem* selectedMenuItem_)

Definition
Line 179 of System.Windows/Menu.cm


ShadowBrush Member Function

public inline nothrow const Brush& ShadowBrush()

Definition
Line 147 of System.Windows/Menu.cm


ShadowColor Member Function

public inline nothrow const Color& ShadowColor()

Definition
Line 123 of System.Windows/Menu.cm


TextBrush Member Function

public inline nothrow const Brush& TextBrush()

Definition
Line 127 of System.Windows/Menu.cm


TextColor Member Function

public inline nothrow const Color& TextColor()

Definition
Line 107 of System.Windows/Menu.cm