DataSourceDesigner.CanConfigure Property


Gets a value indicating whether the Configure method can be called.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public virtual bool CanConfigure { get; }

Property Value

Type: System.Boolean

true if Configure can be called; otherwise, false. The default is false.

Use the CanConfigure property in a custom class to enable or disable design-time configuration for a specific data source.

A design host such as Visual Studio 2005 uses the CanConfigure property to determine whether a command to configure the data source appears in the action list menu at design time.

.NET Framework
Available since 2.0
Return to top