ListItem(String, Boolean) Constructor

Definition

Creates a choice option with the specified label and selected state.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Z)V", "", ApiSince=35)]
public ListItem(string label, bool selected);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Z)V", "", ApiSince=35)>]
new Android.Graphics.Pdf.Models.ListItem : string * bool -> Android.Graphics.Pdf.Models.ListItem

Parameters

label
String

The non-null label displayed for the choice option.

selected
Boolean

Whether the choice option is selected.

Attributes

Exceptions

Thrown when label is null.

Remarks

Use this type to represent one option in a combo box or list box form widget.

Java documentation for ListItem.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to