System.Windows.Forms.VisualStyles.VisualStyleRenderer.DrawEdge Method

Draws one or more edges of the specified bounding rectangle.

Syntax

public System.Drawing.Rectangle DrawEdge (System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, Edges edges, EdgeStyle style, EdgeEffects effects)

Parameters

dc
The System.Drawing.IDeviceContext used to draw the edges.
bounds
The System.Drawing.Rectangle whose bounds define the edges to draw.
edges
A bitwise combination of the System.Windows.Forms.VisualStyles.Edges values.
style
A bitwise combination of the System.Windows.Forms.VisualStyles.EdgeStyle values.
effects
A bitwise combination of the System.Windows.Forms.VisualStyles.EdgeEffects values.

Returns

A System.Drawing.Rectangle that represents the interior of the bounds parameter, minus the edges that were drawn.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0