C# Class Nexus.UI.Controls.DropDownTabPageCollectionEditor

Handles the editing of the DropDownTabControl.TabPages collection is the designer.
Inheritance: System.ComponentModel.Design.CollectionEditor
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
DropDownTabPageCollectionEditor ( Type p_tpeType ) : System

A simple constructor that initializes the object with the given values.

Protected Methods

Method Description
CreateCollectionItemType ( ) : Type

Gets the type of the item in the collection being edited.

CreateInstance ( Type p_tpeItemType ) : object

Creates an instance of an item for use in the collection being edited.

This sets the text of the created DropDownTabPage to its name.

SetItems ( object p_objTabPages, object p_objValues ) : object

Sets the collection to the set of given items.

Method Details

CreateCollectionItemType() protected method

Gets the type of the item in the collection being edited.
protected CreateCollectionItemType ( ) : Type
return System.Type

CreateInstance() protected method

Creates an instance of an item for use in the collection being edited.
This sets the text of the created DropDownTabPage to its name.
protected CreateInstance ( Type p_tpeItemType ) : object
p_tpeItemType System.Type The type of the item to be created.
return object

DropDownTabPageCollectionEditor() public method

A simple constructor that initializes the object with the given values.
public DropDownTabPageCollectionEditor ( Type p_tpeType ) : System
p_tpeType System.Type The type of the ovjects in the collection being edited.
return System

SetItems() protected method

Sets the collection to the set of given items.
protected SetItems ( object p_objTabPages, object p_objValues ) : object
p_objTabPages object The collection being edited.
p_objValues object The array of items to which to set the collection being edited.
return object