Initializes a new instance of the SelectionFormField class.

SelectionFormField(Int)

public SelectionFormField(int emptyWidth);
Public Sub New(ByVal emptyWidth As Integer)

SelectionFormField(String[], Int)

public SelectionFormField(string[] items, int selectedIndex);
Public Sub New(ByVal items As String(), ByVal selectedIndex As Integer)

Parameters

Parameter Description
emptyWidth Specifies the horizontal extension, in twips, of the SelectionFormField, when there is no selected item. When this parameter is set to 0, a default value is used.
items Specifies a list of items for the SelectionFormField.
selectedIndex Specifies the zero-based index of the selected item. When this parameter is -1, no item is selected.