Draws a rounded rectangle with a gradient fill.
| C# | Visual Basic |
public static void RoundedRectangle( Graphics g, Pen p, LinearGradientBrush b, Rectangle rect, int radius )
Public Shared Sub RoundedRectangle ( _ g As Graphics, _ p As Pen, _ b As LinearGradientBrush, _ rect As Rectangle, _ radius As Integer _ )
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile Version 5.0 and later |
| Windows Embedded Compact | Windows CE .NET 4.0 and later |