Table of Contents

Property SelectedIndex

Namespace
DocWright.Word.Forms
Assembly
DocWright.Word.dll

SelectedIndex

Gets or sets the zero-based index of the selected entry (w:ddList/w:result). Where the document states none, the default entry (w:ddList/w:default), which is the one Word shows (WQ-0165); zero when neither is stated.

public int SelectedIndex { get; set; }

Property Value

int

Exceptions

FormFieldEditException

The preserved markup could not be rewritten, the field is not a drop-down, or the index is outside the entry range.