Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BaseDataListComponentEditor Class
Collapse the table of content
Expand the table of content

BaseDataListComponentEditor Class

Provides a component editor base class for Web server controls that are derived from the BaseDataList class.

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

[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public abstract class BaseDataListComponentEditor : WindowsFormsComponentEditor

The BaseDataListComponentEditor type exposes the following members.

Public methodBaseDataListComponentEditorInitializes a new instance of the BaseDataListComponentEditor class.

Public methodEditComponent(Object)Edits the component and returns a value indicating whether the component was modified. (Inherited from ComponentEditor.)
Public methodEditComponent(ITypeDescriptorContext, Object)Creates an editor window that allows the user to edit the specified component, using the specified context information. (Inherited from WindowsFormsComponentEditor.)
Public methodEditComponent(Object, IWin32Window)Creates an editor window that allows the user to edit the specified component, using the specified window that owns the component. (Inherited from WindowsFormsComponentEditor.)
Public methodEditComponent(ITypeDescriptorContext, Object, IWin32Window)Edits the specified component by using the specified context descriptor and parent window. (Overrides WindowsFormsComponentEditor.EditComponent(ITypeDescriptorContext, Object, IWin32Window).)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodGetComponentEditorPagesGets the component editor pages associated with the component editor. (Inherited from WindowsFormsComponentEditor.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodGetInitialComponentEditorPageIndexGets the index of the initial page to display in the component editor. (Overrides WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

A component editor provides a user interface for editing the properties of a control. Component editors are invoked from control designers by using the Property Builder menu item from the context menu on the control. Component editors that are derived from the BaseDataListComponentEditor class are invoked from designers derived from the BaseDataListDesigner class, and are used to edit the properties of controls that are derived from the BaseDataList class. For examples of such controls, see DataGrid and DataList.

The EditComponent method displays a component editor for the associated control, if one can be created. The GetInitialComponentEditorPageIndex method returns the index of the initial page to be displayed in the component editor.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

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