Version

DrawOffice2010ButtonBorders(UIElementDrawParams,Corners,Color,Color) Method

Draws button borders in Office2010 style.
Syntax
'Declaration
 
Public Overloads Shared Sub DrawOffice2010ButtonBorders( _
   ByRef drawParams As UIElementDrawParams, _
   ByVal corners As Corners, _
   ByVal borderColor As Color, _
   ByVal borderColorInner As Color _
) 
public static void DrawOffice2010ButtonBorders( 
   ref UIElementDrawParams drawParams,
   Corners corners,
   Color borderColor,
   Color borderColorInner
)

Parameters

drawParams
The UIElementDrawParams used to provide rendering information.
corners
An enumeration specifying which corners should be rounded.
borderColor
The System.Drawing.Color of the border color gradient.
borderColorInner
The System.Drawing.Colorof the inner border.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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