Share via


ControlSite.ControlFilter Delegate

Delegates to filter controls.

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

Syntax

'Declaration
Public Delegate Function ControlFilter ( _
    c As Control _
) As Boolean
'Usage
Dim instance As New ControlFilter(AddressOf HandlerMethod)
public delegate bool ControlFilter(
    Control c
)
public delegate bool ControlFilter(
    Control^ c
)
type ControlFilter = 
    delegate of 
        c:Control -> bool
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
True if the control should be allowed to process, otherwise false.