Editar

Partilhar via


DataListComponentEditor Class

Definition

Provides a component editor for a DataList control.

public ref class DataListComponentEditor : System::Web::UI::Design::WebControls::BaseDataListComponentEditor
public class DataListComponentEditor : System.Web.UI.Design.WebControls.BaseDataListComponentEditor
type DataListComponentEditor = class
    inherit BaseDataListComponentEditor
Public Class DataListComponentEditor
Inherits BaseDataListComponentEditor
Inheritance

Examples

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

public override void Initialize(IComponent component)
{
    simpleGView = (SimpleGridView)component;
    base.Initialize(component);
}
Public Overrides Sub Initialize(ByVal component As IComponent)

    simpleGView = CType(component, SimpleGridView)

    MyBase.Initialize(component)

End Sub

Remarks

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

Constructors

DataListComponentEditor()

Initializes a new instance of the DataListComponentEditor class.

DataListComponentEditor(Int32)

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

Methods

EditComponent(ITypeDescriptorContext, Object, IWin32Window)

Edits the specified component by using the specified context descriptor and parent window.

(Inherited from BaseDataListComponentEditor)
EditComponent(ITypeDescriptorContext, Object)

Creates an editor window that allows the user to edit the specified component, using the specified context information.

(Inherited from WindowsFormsComponentEditor)
EditComponent(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)
EditComponent(Object)

Edits the component and returns a value indicating whether the component was modified.

(Inherited from ComponentEditor)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetComponentEditorPages()

Gets an array of Type objects corresponding to the pages that can be edited using this editor.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInitialComponentEditorPageIndex()

Gets the index of the initial page to display in the component editor.

(Inherited from BaseDataListComponentEditor)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also