Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataListComponentEditor Class

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 : BaseDataListComponentEditor

The DataListComponentEditor type exposes the following members.

  NameDescription
Public methodDataListComponentEditor()Initializes a new instance of the DataListComponentEditor class.
Public methodDataListComponentEditor(Int32)Initializes a new instance of the DataListComponentEditor class, and sets its initial page to the specified index.
Top
  NameDescription
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. (Inherited from BaseDataListComponentEditor.)
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 an array of Type objects corresponding to the pages that can be edited using this editor. (Overrides WindowsFormsComponentEditor.GetComponentEditorPages().)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodGetInitialComponentEditorPageIndexGets the index of the initial page to display in the component editor. (Inherited from BaseDataListComponentEditor.)
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.)
Top

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 override void Initialize(IComponent component)
{
    simpleGView = (SimpleGridView)component;
    base.Initialize(component);
}

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.