Export (0) Print
Expand All

ArrayEditor Class

Provides a user interface for editing arrays at design time.

Namespace: System.ComponentModel.Design
Assembly: System.Design (in system.design.dll)

public class ArrayEditor : CollectionEditor
public class ArrayEditor extends CollectionEditor
public class ArrayEditor extends CollectionEditor
Not applicable.

This editor can be used to edit arrays within the design-time environment.

The following code example demonstrates applying the System.ComponentModel.EditorAttribute to a property.

[EditorAttribute(typeof(System.ComponentModel.Design.ArrayEditor), typeof(System.Drawing.Design.UITypeEditor))]
public object[] componentArray
{
    get
    {
        return compArray;
    }
    set
    {
        compArray = value;
    }
}
private object[] compArray;

/** @attribute EditorAttribute(System.ComponentModel.Design.ArrayEditor.
    class,System.Drawing.Design.UITypeEditor.class)
 */
/** @property 
 */
public Object[] get_componentArray()
{
    return compArray;
}//get_componentArray

/** @property
 */
public void set_componentArray(Object value[])
{
    compArray = value;
}//set_componentArray

private Object compArray[];

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 Millennium Edition, 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, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft