Share via


BorderPainter.GetBorder Method

Returns the border side or sides of the specified control.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Function GetBorder ( _
    control As Control _
) As Side
'Usage
Dim instance As BorderPainter
Dim control As Control
Dim returnValue As Side

returnValue = instance.GetBorder(control)
public Side GetBorder(
    Control control
)
public:
Side GetBorder(
    Control^ control
)
member GetBorder : 
        control:Control -> Side 
public function GetBorder(
    control : Control
) : Side

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Controls.Side
One of the values of the Side class. Possible values are All, Bottom, Left, None, Right, or Top.