ListFormatDialog Method
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Invokes the built-in dialog box for setting formatting attributes of bulleted and numbered lists.
Syntax
public DialogResult ListFormatDialog();Public Function ListFormatDialog() As DialogResultReturn Value
If the dialog has been left with the Cancel button or if nothing has been changed, the return value is DialogResult.Cancel. Otherwise, it is DialogResult.OK.
Examples
The following example opens the list format dialog for the text control.
var result = textControl.ListFormatDialog();
Console.WriteLine($"List Format Dialog result: {result}");Dim result = textControl.ListFormatDialog()
Console.WriteLine($"List Format Dialog result: {result}")