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