Share via


NewItemFactory Members

Include Protected Members
Include Inherited Members

Represents a factory for creating new items for a collection or for a property value.

The NewItemFactory type exposes the following members.

Constructors

 

Name

Description

Public method

NewItemFactory

Initializes a new instance of the NewItemFactory class.

Top

Methods

 

Name

Description

Public method

CreateInstance

Creates an instance of the specified Type that can be added to the collection editor or sub-property editor.

Public method

Equals

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

Protected method

Finalize

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

Public method

GetDisplayName

Gets a display name for the specified Type that can be added to the collection editor or sub-property editor.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetImage

Gets an image for the specified Type that can be used as an icon in the collection editor or sub-property editor.

Public method

GetType

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

Protected method

MemberwiseClone

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

Public method

ToString

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

Top

See Also

Reference

NewItemFactory Class

Microsoft.Windows.Design.PropertyEditing Namespace