C# Class NArrange.Gui.Configuration.ListItemTreeNode

Tree node for a list item.
Inheritance: System.Windows.Forms.TreeNode
显示文件 Open project: MarcStan/NArrange Class Usage Examples

Public Methods

Method Description
ListItemTreeNode ( PropertyDescriptor listProperty, object component, object listItem ) : System

Creates a new ListItemTreeNode.

MoveDown ( ) : void

Moves this list item node down in the collection.

MoveUp ( ) : void

Moves this list item node down in the collection.

RemoveItem ( ) : void

Removes the item from the collection.

UpdateMenu ( ) : void

Updates the context menu for the tree node.

UpdateText ( ) : void

Updates the display text.

Private Methods

Method Description
HandleMoveDownMenuItemClick ( object sender, EventArgs e ) : void

Event handler for the Move Down menu item click event.

HandleMoveUpMenuItemClick ( object sender, EventArgs e ) : void

Event handler for the Move Up menu item click event.

HandleRemoveMenuItemClick ( object sender, EventArgs e ) : void

Event handler for the Remove menu item click event.

Initialize ( ) : void

Initializes this tree node.

Select ( ) : void

Sets this node as the selected node in the tree view.

Method Details

ListItemTreeNode() public method

Creates a new ListItemTreeNode.
public ListItemTreeNode ( PropertyDescriptor listProperty, object component, object listItem ) : System
listProperty System.ComponentModel.PropertyDescriptor The list property.
component object The component.
listItem object The list item.
return System

MoveDown() public method

Moves this list item node down in the collection.
public MoveDown ( ) : void
return void

MoveUp() public method

Moves this list item node down in the collection.
public MoveUp ( ) : void
return void

RemoveItem() public method

Removes the item from the collection.
public RemoveItem ( ) : void
return void

UpdateMenu() public method

Updates the context menu for the tree node.
public UpdateMenu ( ) : void
return void

UpdateText() public method

Updates the display text.
public UpdateText ( ) : void
return void