Share via


SwitcherRenderer.Layout Method

Provides data for the Layout event.

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

Syntax

'Declaration
Public Overrides Function Layout ( _
    container As Object, _
    layoutEventArgs As LayoutEventArgs _
) As Boolean
'Usage
Dim instance As SwitcherRenderer
Dim container As Object
Dim layoutEventArgs As LayoutEventArgs
Dim returnValue As Boolean

returnValue = instance.Layout(container, _
    layoutEventArgs)
public override bool Layout(
    Object container,
    LayoutEventArgs layoutEventArgs
)
public:
virtual bool Layout(
    Object^ container, 
    LayoutEventArgs^ layoutEventArgs
) override
abstract Layout : 
        container:Object * 
        layoutEventArgs:LayoutEventArgs -> bool 
override Layout : 
        container:Object * 
        layoutEventArgs:LayoutEventArgs -> bool 
public override function Layout(
    container : Object, 
    layoutEventArgs : LayoutEventArgs
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the event contains the data; otherwise, false.