Xceed SmartUI for WinForms v3.6 Documentation
DrawFlatBorder(Rectangle) Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartPaint Class > DrawFlatBorder Method : DrawFlatBorder(Rectangle) Method
A System.Drawing.Rectangle structure representing the rectangle for which to draw the border.
Draws a flat border for the specified rectangle.
Syntax
'Declaration
 
Public Overloads Sub DrawFlatBorder( _
   ByVal rectangle As Rectangle _
) 
'Usage
 
Dim instance As SmartPaint
Dim rectangle As Rectangle
 
instance.DrawFlatBorder(rectangle)
public void DrawFlatBorder( 
   Rectangle rectangle
)

Parameters

rectangle
A System.Drawing.Rectangle structure representing the rectangle for which to draw the border.
Remarks

The border will be drawn with the System.Drawing.SystemColors.ControlLightLight color for the top and left borders and System.Drawing.SystemColors.ControlDarkDark for the right and bottom borders.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SmartPaint Class
SmartPaint Members
Overload List