Table of Contents

Class ToolboxCategoryItemsListBox

Namespace
Alternet.FormDesigner.WinForms.Toolbox
Assembly
Alternet.FormDesigner.v9.dll

Provides ListBox holds a collection of elements for toolbox category.

public class ToolboxCategoryItemsListBox : FlickerFreeListBox, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Inheritance
ToolboxCategoryItemsListBox
Implements

Constructors

ToolboxCategoryItemsListBox(ToolboxContentControl, string)

Initializes a new instance of the ToolboxCategoryItemsListBox class with specified settings.

Properties

CategoryName

Gets or sets name of category.

ToolboxItems

Gets the toolbox items of the ToolboxCategoryItemsListBox.

Methods

AddItem(ToolboxItem)

Adds an item to the list of items for a list box.

BeginEdit()
CancelEdit()
ClearItems()

Removes all items from the collection.

CreateListBoxItem(ToolboxItem)
DoesItemExist(ToolboxItem)

Indicates whether specified item is a member of the collection.

DoesItemExist(string)

Indicates whether specified item is a member of the collection.

EndEdit()
GetPreferredSize(Size)

Retrieves the size of a rectangular area into which a control can be fitted.

InsertItem(int, ToolboxItem)

Inserts an item into the list box at the specified index.

OnDrawItem(DrawItemEventArgs)

Raises the DrawItem event.

OnFontChanged(EventArgs)

Raises the FontChanged event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnMeasureItem(MeasureItemEventArgs)

Raises the MeasureItem event.

OnMouseDown(MouseEventArgs)

Raises the MouseDown event.

OnMouseLeave(EventArgs)

Raises the MouseLeave event.

OnMouseMove(MouseEventArgs)

Raises the MouseMove event.

OnMouseUp(MouseEventArgs)

Raises the MouseUp event.

OnSelectedIndexChanged(EventArgs)

Raises the SelectedValueChanged event.

RemoveItem(ToolboxItem)

Removes the specified item from the collection.

SelectItem(ToolboxItem)

Selects the specified item in a list box.

SetItemsVisibility(ToolboxItemWithVisibility[])