ManageConditionalInstructionsDialog Method
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Opens a dialog box to add, edit or delete Conditional Instructions inside the document.
Syntax
public bool? ManageConditionalInstructionsDialog();Public Function ManageConditionalInstructionsDialog() As Boolean?Return Value
The return value can be one of the following values:
| Result | Meaning |
|---|---|
| true | The dialog has been left with the OK button and any changes to the document's Conditional Instructions were adopted. |
| false | The dialog has been left with the Cancel button. |
| null | The dialog has not been opened. |
Examples
The following example opens the manage conditional instructions dialog for the text control.
var result = textControl.ManageConditionalInstructionsDialog();
Console.WriteLine($"Manage Conditional Instructions Dialog result: {result}");Dim result = textControl.ManageConditionalInstructionsDialog()
Console.WriteLine($"Manage Conditional Instructions Dialog result: {result}")Limitations
The dialog cannot be opened, if the TextControl.IsFormFieldValidationEnabled is set to false. In this case the method returns null.