Skybound VisualStyles

ThemePaint.GetBorderWidth Method 

Returns the width of the client border drawn around a specified control that supports visual styles.

[Visual Basic]
Public Shared Function GetBorderWidth( _
   ByVal control As Control, _
   ByVal themeClass As String _
) As Integer
[C#]
public static int GetBorderWidth(
   Control control,
   string themeClass
);

Parameters

control
The Control whose border width is returned.
themeClass
Specifies the class of control.

Return Value

The width of the border.

See Also

ThemePaint Class | Skybound.VisualStyles Namespace