ParameterEditorUserControl.SetAllowCollectionChanges Method (Boolean)

 

Controls whether additions and deletions can be made to the values in the editor.

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

public void SetAllowCollectionChanges(
	bool allowChanges
)

Parameters

allowChanges
Type: System.Boolean

A Boolean that indicates whether additions and deletions can be made to the ParameterCollection being edited.

The SetAllowCollectionChanges method controls whether additions and deletions can be made to the ParameterCollection element in the ParameterEditorUserControl object. The SetAllowCollectionChanges enables or disables the Up, Down, Add, and Delete buttons but it does not affect the editing of individual Parameter elements.

.NET Framework
Available since 2.0
Return to top
Show: