TextToolButton Class

Constructors & Destructor | Member Functions | Member Variables

Definition

Line 1429 of System.Windows/ToolBar.cm

Inheritance

Constructors & Destructor

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

Member Functions

protected override Result<bool> DrawContent(Graphics& graphics, const Point& location)
private Result<bool> DrawText(Graphics& graphics, const Point& location)
protected override 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 TextToolButton(const String<char>& text)

Definition
Line 1436 of System.Windows/ToolBar.cm


TextToolButton Constructor

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

Definition
Line 1431 of System.Windows/ToolBar.cm


Member Function Details

DrawContent Member Function

protected override Result<bool> DrawContent(Graphics& graphics, const Point& location)

Definition
Line 1448 of System.Windows/ToolBar.cm


DrawText Member Function

private Result<bool> DrawText(Graphics& graphics, const Point& location)

Definition
Line 1452 of System.Windows/ToolBar.cm


SetToolBar Member Function

protected override void SetToolBar(ToolBar* toolBar)

Definition
Line 1439 of System.Windows/ToolBar.cm