ToolBar Class

Definition

Line 194 of System.Windows/ToolBar.cm

Inheritance

Constructors & Destructor

public ToolBar()
public ToolBar(Style style)
public ToolBar(ToolBarCreateParams& createParams)
public ToolBar(const Color& backgroundColor, const Color& toolTipWindowColor, const Color& toolButtonTransparentColor_, const Point& location, const Size& size, Dock dock, Anchors anchors, int toolButtonHeight_, Style style_, const Padding& padding_, const Padding& buttonPadding_)
public ToolBar(int toolButtonHeight, const Color& toolTipWindowColor, const Color& toolButtonTransparentColor, Style style, const Padding& padding, const Padding& buttonPadding)
public ~ToolBar()

Member Functions

public void AddToolButton(ToolButtonBase* toolButton)
public inline nothrow const StringFormat& CenterFormat() const
public inline nothrow const Color& DarkColor() const
public nothrow Padding DefaultButtonPadding()
public nothrow Padding DefaultPadding() const
public inline nothrow const Color& DisabledColor() const
public nothrow const Padding& GetButtonPadding()
private Pair<Bitmap*, Bitmap*> GetOrCreateBitmaps(const String<char>& bitmapName)
internal SolidBrush* GetOrInsertSolidBrush(const Color& color)
public nothrow const Padding& GetPadding() const
public inline nothrow Style GetStyle() const
public inline nothrow const Font& GetTextToolButtonFont() const
public nothrow ToolButton* GetToolButton(int toolButtonIndex) const
private nothrow ToolButton* GetToolButtonAt(const Point& location) const
internal void HideToolTipWindow()
public inline nothrow const Color& LightColor() const
public inline nothrow const Color& MediumDarkColor() const
public inline nothrow const Color& MediumLightColor() const
protected override void OnMouseDown(MouseEventArgs& args)
protected override void OnMouseEnter()
protected override void OnMouseHover(MouseEventArgs& args)
protected override void OnMouseLeave()
protected override void OnMouseMove(MouseEventArgs& args)
protected override void OnMouseUp(MouseEventArgs& args)
protected override void OnPaint(PaintEventArgs& args)
public inline nothrow ToolButton* PressedStateToolButton() const
public nothrow void ResetPressedStateToolButton()
private inline nothrow void ResetToolTipWindowAdded()
private inline nothrow void ResetToolTipWindowVisible()
public nothrow void SetButtonPadding(const Padding& buttonPadding_)
public nothrow void SetDarkColor(const Color& darkColor_)
public nothrow void SetDisabledColor(const Color& disabledColor_)
public nothrow void SetLightColor(const Color& lightColor_)
public nothrow void SetMediumDarkColor(const Color& mediumDarkColor_)
public nothrow void SetMediumLightColor(const Color& mediumLightColor_)
public void SetPressedStateToolButton(ToolButton* newPressedStateToolButton)
public void SetTextToolButtonFont(const Font& textToolButtonFont_)
private void SetToolButtonBitmaps(ToolButton* toolButton)
public nothrow void SetToolButtonSeparatorColor1(const Color& toolButtonSeparatorColor1_)
public nothrow void SetToolButtonSeparatorColor2(const Color& toolButtonSeparatorColor2_)
private inline nothrow void SetToolTipWindowAdded()
private inline nothrow void SetToolTipWindowVisible()
internal void ShowToolTipWindow(ToolButton* toolButton)
public inline nothrow const int ToolButtonHeight() const
public inline nothrow const Color& ToolButtonSeparatorColor1() const
public inline nothrow const Color& ToolButtonSeparatorColor2() const
private inline nothrow bool ToolTipWindowAdded() const
private inline nothrow bool ToolTipWindowVisible() const

Enumerated Types

private enum Flags
public enum Style

Member Variables

private HashMap<String<char>, Pair<Bitmap*, Bitmap*>, Hasher<String<char>>, EqualTo<String<char>>> bitmapMap
private List<UniquePtr<Bitmap>> bitmaps
private Padding buttonPadding
private StringFormat centerFormat
private Color darkColor
private Color disabledColor
private Flags flags
private Color lightColor
private Color mediumDarkColor
private Color mediumLightColor
private ToolButton* mouseDownToolButton
private ToolButton* mouseInToolButton
private Padding padding
private ToolButton* pressedStateToolButton
private Style style
private HashMap<Color, SolidBrush*, Hasher<Color>, EqualTo<Color>> textBrushMap
private List<UniquePtr<SolidBrush>> textBrushes
private Font textToolButtonFont
private int toolButtonHeight
private Color toolButtonSeparatorColor1
private Color toolButtonSeparatorColor2
private Color toolButtonTransparentColor
private Container toolButtons
private ToolTip* toolTipWindow

Constructor& Destructor Details

ToolBar Constructor

public ToolBar()

Definition
Line 227 of System.Windows/ToolBar.cm


ToolBar Constructor

public ToolBar(Style style)

Definition
Line 224 of System.Windows/ToolBar.cm


ToolBar Constructor

public ToolBar(ToolBarCreateParams& createParams)

Definition
Line 230 of System.Windows/ToolBar.cm


ToolBar Constructor

public ToolBar(const Color& backgroundColor, const Color& toolTipWindowColor, const Color& toolButtonTransparentColor_, const Point& location, const Size& size, Dock dock, Anchors anchors, int toolButtonHeight_, Style style_, const Padding& padding_, const Padding& buttonPadding_)

Definition
Line 204 of System.Windows/ToolBar.cm


ToolBar Constructor

public ToolBar(int toolButtonHeight, const Color& toolTipWindowColor, const Color& toolButtonTransparentColor, Style style, const Padding& padding, const Padding& buttonPadding)

Definition
Line 217 of System.Windows/ToolBar.cm


~ToolBar Destructor

public ~ToolBar()

Definition
Line 286 of System.Windows/ToolBar.cm


Member Function Details

AddToolButton Member Function

public void AddToolButton(ToolButtonBase* toolButton)

Definition
Line 359 of System.Windows/ToolBar.cm


CenterFormat Member Function

public inline nothrow const StringFormat& CenterFormat()

Definition
Line 258 of System.Windows/ToolBar.cm


DarkColor Member Function

public inline nothrow const Color& DarkColor()

Definition
Line 303 of System.Windows/ToolBar.cm


DefaultButtonPadding Member Function

public nothrow Padding DefaultButtonPadding()

Definition
Line 270 of System.Windows/ToolBar.cm


DefaultPadding Member Function

public nothrow Padding DefaultPadding()

Definition
Line 266 of System.Windows/ToolBar.cm


DisabledColor Member Function

public inline nothrow const Color& DisabledColor()

Definition
Line 335 of System.Windows/ToolBar.cm


GetButtonPadding Member Function

public nothrow const Padding& GetButtonPadding()

Definition
Line 278 of System.Windows/ToolBar.cm


GetOrCreateBitmaps Member Function

private Pair<Bitmap*, Bitmap*> GetOrCreateBitmaps(const String<char>& bitmapName)

Definition
Line 632 of System.Windows/ToolBar.cm


GetOrInsertSolidBrush Member Function

internal SolidBrush* GetOrInsertSolidBrush(const Color& color)

Definition
Line 611 of System.Windows/ToolBar.cm


GetPadding Member Function

public nothrow const Padding& GetPadding()

Definition
Line 274 of System.Windows/ToolBar.cm


GetStyle Member Function

public inline nothrow Style GetStyle()

Definition
Line 299 of System.Windows/ToolBar.cm


GetTextToolButtonFont Member Function

public inline nothrow const Font& GetTextToolButtonFont()

Definition
Line 254 of System.Windows/ToolBar.cm


GetToolButton Member Function

public nothrow ToolButton* GetToolButton(int toolButtonIndex)

Definition
Line 377 of System.Windows/ToolBar.cm


GetToolButtonAt Member Function

private nothrow ToolButton* GetToolButtonAt(const Point& location)

Definition
Line 659 of System.Windows/ToolBar.cm


HideToolTipWindow Member Function

internal void HideToolTipWindow()

Definition
Line 605 of System.Windows/ToolBar.cm


LightColor Member Function

public inline nothrow const Color& LightColor()

Definition
Line 311 of System.Windows/ToolBar.cm


MediumDarkColor Member Function

public inline nothrow const Color& MediumDarkColor()

Definition
Line 327 of System.Windows/ToolBar.cm


MediumLightColor Member Function

public inline nothrow const Color& MediumLightColor()

Definition
Line 319 of System.Windows/ToolBar.cm


OnMouseDown Member Function

protected override void OnMouseDown(MouseEventArgs& args)

Definition
Line 503 of System.Windows/ToolBar.cm


OnMouseEnter Member Function

protected override void OnMouseEnter()

Definition
Line 458 of System.Windows/ToolBar.cm


OnMouseHover Member Function

protected override void OnMouseHover(MouseEventArgs& args)

Definition
Line 494 of System.Windows/ToolBar.cm


OnMouseLeave Member Function

protected override void OnMouseLeave()

Definition
Line 464 of System.Windows/ToolBar.cm


OnMouseMove Member Function

protected override void OnMouseMove(MouseEventArgs& args)

Definition
Line 475 of System.Windows/ToolBar.cm


OnMouseUp Member Function

protected override void OnMouseUp(MouseEventArgs& args)

Definition
Line 544 of System.Windows/ToolBar.cm


OnPaint Member Function

protected override void OnPaint(PaintEventArgs& args)

Definition
Line 428 of System.Windows/ToolBar.cm


PressedStateToolButton Member Function

public inline nothrow ToolButton* PressedStateToolButton()

Definition
Line 392 of System.Windows/ToolBar.cm


ResetPressedStateToolButton Member Function

public nothrow void ResetPressedStateToolButton()

Definition
Line 421 of System.Windows/ToolBar.cm


ResetToolTipWindowAdded Member Function

private inline nothrow void ResetToolTipWindowAdded()

Definition
Line 688 of System.Windows/ToolBar.cm


ResetToolTipWindowVisible Member Function

private inline nothrow void ResetToolTipWindowVisible()

Definition
Line 700 of System.Windows/ToolBar.cm


SetButtonPadding Member Function

public nothrow void SetButtonPadding(const Padding& buttonPadding_)

Definition
Line 282 of System.Windows/ToolBar.cm


SetDarkColor Member Function

public nothrow void SetDarkColor(const Color& darkColor_)

Definition
Line 307 of System.Windows/ToolBar.cm


SetDisabledColor Member Function

public nothrow void SetDisabledColor(const Color& disabledColor_)

Definition
Line 339 of System.Windows/ToolBar.cm


SetLightColor Member Function

public nothrow void SetLightColor(const Color& lightColor_)

Definition
Line 315 of System.Windows/ToolBar.cm


SetMediumDarkColor Member Function

public nothrow void SetMediumDarkColor(const Color& mediumDarkColor_)

Definition
Line 331 of System.Windows/ToolBar.cm


SetMediumLightColor Member Function

public nothrow void SetMediumLightColor(const Color& mediumLightColor_)

Definition
Line 323 of System.Windows/ToolBar.cm


SetPressedStateToolButton Member Function

public void SetPressedStateToolButton(ToolButton* newPressedStateToolButton)

Definition
Line 403 of System.Windows/ToolBar.cm


SetTextToolButtonFont Member Function

public void SetTextToolButtonFont(const Font& textToolButtonFont_)

Definition
Line 250 of System.Windows/ToolBar.cm


SetToolButtonBitmaps Member Function

private void SetToolButtonBitmaps(ToolButton* toolButton)

Definition
Line 627 of System.Windows/ToolBar.cm


SetToolButtonSeparatorColor1 Member Function

public nothrow void SetToolButtonSeparatorColor1(const Color& toolButtonSeparatorColor1_)

Definition
Line 347 of System.Windows/ToolBar.cm


SetToolButtonSeparatorColor2 Member Function

public nothrow void SetToolButtonSeparatorColor2(const Color& toolButtonSeparatorColor2_)

Definition
Line 355 of System.Windows/ToolBar.cm


SetToolTipWindowAdded Member Function

private inline nothrow void SetToolTipWindowAdded()

Definition
Line 684 of System.Windows/ToolBar.cm


SetToolTipWindowVisible Member Function

private inline nothrow void SetToolTipWindowVisible()

Definition
Line 696 of System.Windows/ToolBar.cm


ShowToolTipWindow Member Function

internal void ShowToolTipWindow(ToolButton* toolButton)

Definition
Line 572 of System.Windows/ToolBar.cm


ToolButtonHeight Member Function

public inline nothrow const int ToolButtonHeight()

Definition
Line 262 of System.Windows/ToolBar.cm


ToolButtonSeparatorColor1 Member Function

public inline nothrow const Color& ToolButtonSeparatorColor1()

Definition
Line 343 of System.Windows/ToolBar.cm


ToolButtonSeparatorColor2 Member Function

public inline nothrow const Color& ToolButtonSeparatorColor2()

Definition
Line 351 of System.Windows/ToolBar.cm


ToolTipWindowAdded Member Function

private inline nothrow bool ToolTipWindowAdded()

Definition
Line 680 of System.Windows/ToolBar.cm


ToolTipWindowVisible Member Function

private inline nothrow bool ToolTipWindowVisible()

Definition
Line 692 of System.Windows/ToolBar.cm