Table of Contents

Class ListBoxDescription

The description of a Web ListBox test object.

Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public class ListBoxDescription : FormFieldDescription, ICloneable, IDescription

Constructors

ListBoxDescription()

Declaration
public ListBoxDescription()

Properties

DefaultValue

The initial text value, which is set when the object is reset.

Declaration
public StringProperty DefaultValue { get; set; }
Property Value
Type Description
StringProperty

FirstItem

The first item in the list of items in the list.

Declaration
public StringProperty FirstItem { get; set; }
Property Value
Type Description
StringProperty

IsEnabled

Indicates whether the list box is enabled.

Declaration
public bool? IsEnabled { get; set; }
Property Value
Type Description
bool?

IsMultiple

Indicates whether multi-selection is available.

Declaration
public bool? IsMultiple { get; set; }
Property Value
Type Description
bool?

Items

A read-only collection of all IListItem objects in the list.

Declaration
public string[] Items { get; set; }
Property Value
Type Description
string[]
Remarks

When weblist items are loaded dynamically, it is possible that only a partial list of the items will be returned.

ItemsCount

The number of items in the list.

Declaration
public int? ItemsCount { get; set; }
Property Value
Type Description
int?

SelectedItems

A collection of all selected items in the list.

Declaration
public string[] SelectedItems { get; set; }
Property Value
Type Description
string[]

Value

This object's text value.

Declaration
public StringProperty Value { get; set; }
Property Value
Type Description
StringProperty

VisibleItemsCount

The number of visible items in the list.

Declaration
public uint? VisibleItemsCount { get; set; }
Property Value
Type Description
uint?

Implements

ICloneable
IDescription