Share via


SqlStudioLayoutManager.GetEnforceLayout Method

Retrieves a value indicating whether the layout of the control is enforced.

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

Syntax

'Declaration
Public Function GetEnforceLayout ( _
    control As Control _
) As Boolean
'Usage
Dim instance As SqlStudioLayoutManager
Dim control As Control
Dim returnValue As Boolean

returnValue = instance.GetEnforceLayout(control)
public bool GetEnforceLayout(
    Control control
)
public:
bool GetEnforceLayout(
    Control^ control
)
member GetEnforceLayout : 
        control:Control -> bool 
public function GetEnforceLayout(
    control : Control
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the layout of the control is enforced; otherwise, false.