Click or drag to resize

DialogsShowMultiListBox Method

Displays Rhino's multiple selection list box.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.12
Syntax
public static string[] ShowMultiListBox(
	string title,
	string message,
	IList<string> items,
	IList<string> defaults = null
)

Parameters

title
Type: SystemString
The dialog title.
message
Type: SystemString
The dialog message.
items
Type: System.Collections.GenericIListString
A list of items to show.
defaults (Optional)
Type: System.Collections.GenericIListString
The items to preselect.

Return Value

Type: String
The selected items if successful, null on cancel.
See Also