Class ListBox
Assembly: NXOpenUI.dll
Syntax
public class ListBox : UIBlock, IMessageSink
Constructors
ListBox()
Declaration
Properties
AllowDeselectForSingleSelect
Declaration
public bool AllowDeselectForSingleSelect { get; set; }
Property Value
Height
Declaration
public int Height { get; set; }
Property Value
Declaration
public bool IsAddButtonSensitive { get; set; }
Property Value
Declaration
public bool IsDeleteButtonSensitive { get; set; }
Property Value
Localize
Declaration
public bool Localize { get; set; }
Property Value
MaximumHeight
Declaration
public int MaximumHeight { get; set; }
Property Value
MaximumStringLength
Declaration
public int MaximumStringLength { get; set; }
Property Value
MinimumHeight
Declaration
public int MinimumHeight { get; set; }
Property Value
ResizeHeightWithDialog
Declaration
public bool ResizeHeightWithDialog { get; set; }
Property Value
SelectedItemIndex
Declaration
public int SelectedItemIndex { get; set; }
Property Value
SelectedItemString
Declaration
public string SelectedItemString { get; set; }
Property Value
Declaration
public bool ShowAddButton { get; set; }
Property Value
Declaration
public bool ShowDeleteButton { get; set; }
Property Value
Declaration
public bool ShowMoveUpDownButtons { get; set; }
Property Value
SingleSelect
Declaration
public bool SingleSelect { get; set; }
Property Value
Methods
GetListItems()
Declaration
public string[] GetListItems()
Returns
GetSelectedItemBooleans()
Declaration
public int[] GetSelectedItemBooleans()
Returns
GetSelectedItemStrings()
Declaration
public string[] GetSelectedItemStrings()
Returns
GetSelectedItems()
Declaration
public int[] GetSelectedItems()
Returns
SetAddHandler(AddCallback)
Declaration
public void SetAddHandler(ListBox.AddCallback cb)
Parameters
SetDeleteHandler(DeleteCallback)
Declaration
public void SetDeleteHandler(ListBox.DeleteCallback cb)
Parameters
SetListItems(string[])
Declaration
public void SetListItems(string[] items)
Parameters
Type |
Name |
Description |
string[] |
items |
|
SetSelectedItemBooleans(int[])
Declaration
public void SetSelectedItemBooleans(int[] items)
Parameters
Type |
Name |
Description |
int[] |
items |
|
SetSelectedItemStrings(string[])
Declaration
public void SetSelectedItemStrings(string[] strings)
Parameters
Type |
Name |
Description |
string[] |
strings |
|
SetSelectedItems(int[])
Declaration
public void SetSelectedItems(int[] selectedItems)
Parameters
Type |
Name |
Description |
int[] |
selectedItems |
|
TestAddItem()
Declaration
public void TestAddItem()
TestDeleteItem()
Declaration
public void TestDeleteItem()
Implements
System.Runtime.Remoting.Messaging.IMessageSink