Opens a dialog box to create or edit a Conditional Instruction.

Introduced: X18.


public DialogResult ConditionalInstructionDialog();
Public Function ConditionalInstructionDialog() As DialogResult


public DialogResult ConditionalInstructionDialog(string name);
Public Function ConditionalInstructionDialog(name As String) As DialogResult


Parameter Description
name Specifies the name of the Conditional Instruction to edit or create.

Return Value

The return value can be one of the following values:


The dialog cannot be opened, if the document does not contain form fields, the TextControl.IsFormFieldValidationEnabled is set to false or the EditMode property is set to EditMode.ReadAndSelect. In these cases the method returns DialogResult.Abort.