Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ParameterCollectionEditor Class

Provides a component editor for the ParameterCollection object that is specified by the Parameters properties of the associated data source control.

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

public ref class ParameterCollectionEditor : public UITypeEditor
public class ParameterCollectionEditor extends UITypeEditor
public class ParameterCollectionEditor extends UITypeEditor
Not applicable.

The ParameterCollectionEditor class provides a user interface for editing the Parameter elements of the ParameterCollection object at design time, as specified by one of the Parameters properties. The Parameters properties include the DeleteParameters, FilterParameters, InsertParameters, SelectParameters and UpdateParameters properties of the ObjectDataSource, SqlDataSource, and other data source controls.

The ParameterCollectionEditor is invoked by selecting the ellipsis () button on one of the Parameters properties in the Properties grid of the visual designer.

The EditValue method edits the Parameter elements of the ParameterCollection for the associated data source control. The GetEditStyle method gets the editing style that is associated with this editor.

The following code example shows how to use the EditorAttribute attribute to associate the ParameterCollectionEditor and UITypeEditor (the collection editor base class) classes with a SelectParameters property in a custom control.

No code example is currently available or this language may not be supported.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

© 2015 Microsoft