Class UIListViewEventArgs
UIListView (User Interaction List View) event argument.
Inherited Members
System.EventArgs.Empty
Namespace: ABB.Robotics.Controllers.RapidDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class UIListViewEventArgs : UIInstructionEventArgs
Properties
BtnArray
User defined buttons stored in an array. Only one of parameter \Buttons or \BtnArray can be used at the same time.
Declaration
public List<string> BtnArray { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.String> |
Buttons
Defines the buttons to be displayed.
Declaration
public UIButton Buttons { get; }
Property Value
| Type | Description |
|---|---|
| UIButton |
DefaultIndex
The default selection in the list, corresponds to the index of the item in the array specified in the parameter ListItems.
Declaration
public int DefaultIndex { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Header
Header text to be written at the top of the message box.
Declaration
public string Header { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Icon
Defines the icon to be displayed.
Declaration
public UIIcon Icon { get; }
Property Value
| Type | Description |
|---|---|
| UIIcon |
ListItems
An array with one or several list items to be displayed.
Declaration
public List<UIListItem> ListItems { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<UIListItem> |
Methods
SendAnswer(Int32, UIButtonResult)
Send selection to ListView.
Declaration
public void SendAnswer(int listItemIdx, UIButtonResult btnRes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | listItemIdx | user selection in the list menu corresponding to the index in the array specified in the parameter ListItems |
| UIButtonResult | btnRes | Button result |