Draws a caption with the specified 3D-borders and Appearance.

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

Syntax

C#
public void DrawCaption(
	Appearance appearance,
	ElementState state,
	Rectangle bounds,
	BorderSide sides,
	Graphics graphics
)
Visual Basic
Public Sub DrawCaption ( 
	appearance As Appearance,
	state As ElementState,
	bounds As Rectangle,
	sides As BorderSide,
	graphics As Graphics
)
Visual C++
public:
virtual void DrawCaption(
	Appearance^ appearance, 
	ElementState state, 
	Rectangle bounds, 
	BorderSide sides, 
	Graphics^ graphics
) sealed
F#
abstract DrawCaption : 
        appearance : Appearance * 
        state : ElementState * 
        bounds : Rectangle * 
        sides : BorderSide * 
        graphics : Graphics -> unit 
override DrawCaption : 
        appearance : Appearance * 
        state : ElementState * 
        bounds : Rectangle * 
        sides : BorderSide * 
        graphics : Graphics -> unit 

Parameters

appearance
Type: Dapfor.Net.Ui..::..Appearance
The appearance.
state
Type: Dapfor.Net.Ui..::..ElementState
One of the ElementState values that specifies the style of the border.
bounds
Type: System.Drawing..::..Rectangle
The bounds of the border.
sides
Type: Dapfor.Net.Ui..::..BorderSide
One of the BorderSide values that specifies which border side should be painted.
graphics
Type: System.Drawing..::..Graphics
The graphics.

Implements

IRender..::..DrawCaption(Appearance, ElementState, Rectangle, BorderSide, Graphics)

See Also