TextToolButton Class

Definition

Line 1182 of System.Windows/ToolBar.cm

Inheritance

Constructors & Destructor

public nothrow TextToolButton(const String<char>& text)
public nothrow TextToolButton(const String<char>& text_, const Size& size, const Color& textColor_, Style style)

Member Functions

protected override void DrawContent(Graphics& graphics, const Point& location)
private void DrawText(Graphics& graphics, const Point& location)
protected override nothrow void SetToolBar(ToolBar* toolBar)

Member Variables

private SolidBrush* disabledBrush
private SolidBrush* normalBrush
private String<char> text
private Color textColor

Constructor& Destructor Details

TextToolButton Constructor

public nothrow TextToolButton(const String<char>& text)

Definition
Line 1189 of System.Windows/ToolBar.cm


TextToolButton Constructor

public nothrow TextToolButton(const String<char>& text_, const Size& size, const Color& textColor_, Style style)

Definition
Line 1184 of System.Windows/ToolBar.cm


Member Function Details

DrawContent Member Function

protected override void DrawContent(Graphics& graphics, const Point& location)

Definition
Line 1201 of System.Windows/ToolBar.cm


DrawText Member Function

private void DrawText(Graphics& graphics, const Point& location)

Definition
Line 1205 of System.Windows/ToolBar.cm


SetToolBar Member Function

protected override nothrow void SetToolBar(ToolBar* toolBar)

Definition
Line 1192 of System.Windows/ToolBar.cm