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#
public void DrawFrame(
	Color color,
	Rectangle bounds,
	ButtonBorderStyle style,
	Graphics graphics
)
Visual Basic
Public Sub DrawFrame ( 
	color As Color,
	bounds As Rectangle,
	style As ButtonBorderStyle,
	graphics As Graphics
)
Visual C++
public:
virtual void DrawFrame(
	Color color, 
	Rectangle bounds, 
	ButtonBorderStyle style, 
	Graphics^ graphics
) sealed
F#
abstract DrawFrame : 
        color : Color * 
        bounds : Rectangle * 
        style : ButtonBorderStyle * 
        graphics : Graphics -> unit 
override DrawFrame : 
        color : Color * 
        bounds : Rectangle * 
        style : ButtonBorderStyle * 
        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.
graphics
Type: System.Drawing..::..Graphics
The graphics.

Implements

IRender..::..DrawFrame(Color, Rectangle, ButtonBorderStyle, Graphics)

See Also