DialogsShowListBox Method (String, String, IList, Object) |
Displays Rhino's list box.
Namespace:
Rhino.UI
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public static Object ShowListBox(
string title,
string message,
IList items,
Object selectedItem
)
Public Shared Function ShowListBox (
title As String,
message As String,
items As IList,
selectedItem As Object
) As Object
Parameters
- title
- Type: SystemString
The dialog title. - message
- Type: SystemString
The dialog message. - items
- Type: System.CollectionsIList
A list of items to show. - selectedItem
- Type: SystemObject
The item to preselect.
Return Value
Type:
ObjectThe selected item if successful, null on cancel.
See Also