System.Web.UI.WebControls.WebParts.ConnectionPoint.GetEnabled Method

Returns a value that indicates whether a connection point can participate in connections.

Syntax

public virtual bool GetEnabled (System.Web.UI.Control control)

Parameters

control
A System.Web.UI.WebControls.WebParts.WebPart or other server control that is associated with a connection point.

Returns

true if the control can create a connection point to participate in a connection; otherwise, false.

Remarks

The ConnectionPoint.GetEnabled(System.Web.UI.Control) method in the base System.Web.UI.WebControls.WebParts.ConnectionPoint class always returns true, but derived classes can override the method to return true or false at different times, based on the state of control.

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0