Draws the expansion (+/-) button.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public void DrawExpansionButton(
	bool expanded,
	Rectangle bounds,
	Graphics graphics
)
Visual Basic
Public Sub DrawExpansionButton ( 
	expanded As Boolean,
	bounds As Rectangle,
	graphics As Graphics
)
Visual C++
public:
virtual void DrawExpansionButton(
	bool expanded, 
	Rectangle bounds, 
	Graphics^ graphics
) sealed
F#
abstract DrawExpansionButton : 
        expanded : bool * 
        bounds : Rectangle * 
        graphics : Graphics -> unit 
override DrawExpansionButton : 
        expanded : bool * 
        bounds : Rectangle * 
        graphics : Graphics -> unit 

Parameters

expanded
Type: System..::..Boolean
Indicates whether the button is expanded. true - expanded, otherwise false.
bounds
Type: System.Drawing..::..Rectangle
The button's size.
graphics
Type: System.Drawing..::..Graphics
The graphics.

Implements

IRender..::..DrawExpansionButton(Boolean, Rectangle, Graphics)

See Also