Draws a border on a button-style control.

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

Syntax

C#
void DrawFrame(
	Color color,
	Rectangle bounds,
	ButtonBorderStyle style,
	BorderSide sides,
	Graphics graphics
)
Visual Basic
Sub DrawFrame ( 
	color As Color,
	bounds As Rectangle,
	style As ButtonBorderStyle,
	sides As BorderSide,
	graphics As Graphics
)
Visual C++
void DrawFrame(
	Color color, 
	Rectangle bounds, 
	ButtonBorderStyle style, 
	BorderSide sides, 
	Graphics^ graphics
)
F#
abstract DrawFrame : 
        color : Color * 
        bounds : Rectangle * 
        style : ButtonBorderStyle * 
        sides : BorderSide * 
        graphics : Graphics -> unit 

Parameters

color
Type: System.Drawing..::..Color
The color of the border.
bounds
Type: System.Drawing..::..Rectangle
The bounds of the border.
style
Type: System.Windows.Forms..::..ButtonBorderStyle
One of the ButtonBorderStyle values that specifies the style 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.

See Also