DataListComponentEditor Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides a component editor for a DataList control.

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


<SecurityPermissionAttribute(SecurityAction.Demand, Flags := SecurityPermissionFlag.UnmanagedCode)>
Public Class DataListComponentEditor
	Inherits BaseDataListComponentEditor

NameDescription
System_CAPS_pubmethodDataListComponentEditor()

Initializes a new instance of the DataListComponentEditor class.

System_CAPS_pubmethodDataListComponentEditor(Int32)

Initializes a new instance of the DataListComponentEditor class, and sets its initial page to the specified index.

NameDescription
System_CAPS_pubmethodEditComponent(ITypeDescriptorContext, Object)

Creates an editor window that allows the user to edit the specified component, using the specified context information.(Inherited from WindowsFormsComponentEditor.)

System_CAPS_pubmethodEditComponent(ITypeDescriptorContext, Object, IWin32Window)

Edits the specified component by using the specified context descriptor and parent window.(Inherited from BaseDataListComponentEditor.)

System_CAPS_pubmethodEditComponent(Object)

Edits the component and returns a value indicating whether the component was modified.(Inherited from ComponentEditor.)

System_CAPS_pubmethodEditComponent(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.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_protmethodGetComponentEditorPages()

Gets an array of Type objects corresponding to the pages that can be edited using this editor.(Overrides WindowsFormsComponentEditor.GetComponentEditorPages().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetInitialComponentEditorPageIndex()

Gets the index of the initial page to display in the component editor.(Inherited from BaseDataListComponentEditor.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

A component editor provides a user interface (UI) for editing the properties of a control.

The following code example uses the EditorAttribute attribute to associate this editor with a class that extends the DataList class.

Public Overrides Sub Initialize(ByVal component As IComponent)

    simpleGView = CType(component, SimpleGridView)

    MyBase.Initialize(component)

End Sub

.NET Framework
Available since 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.

Return to top
Show: