BookmarkDialog Constructor
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Creates a BookmarkDialog object for the specified WPF.TextControl.
Syntax
BookmarkDialog(TextControl)
Creates a BookmarkDialog object for the specified WPF.TextControl. If there is a target at the current input position, the name of the target is shown and can be edited. Otherwise a new DocumentTarget can be inserted at the current input position.
public BookmarkDialog(TextControl textControl);Public Sub New(textControl As TextControl)| Parameter | Description |
|---|---|
| textControl | Specifies the WPF.TextControl for which the dialog box is opened. |
BookmarkDialog(TextControl, DocumentTarget)
Creates a BookmarkDialog object for the specified WPF.TextControl. If the specified DocumentTarget is not null, the name of the target is shown and can be edited. Otherwise a new DocumentTarget can be inserted at the current input position.
public BookmarkDialog(TextControl textControl, DocumentTarget bookmarkToEdit);Public Sub New(textControl As TextControl, bookmarkToEdit As DocumentTarget)| Parameter | Description |
|---|---|
| textControl | Specifies the WPF.TextControl for which the dialog box is opened. |
| bookmarkToEdit | Specifies the |
Examples
The following example creates a Bookmark Dialog instance and configures its allows transparency setting for a document workflow.
TXTextControl.WPF.BookmarkDialog bookmarkDialog = new(new TXTextControl.WPF.TextControl());
bookmarkDialog.AllowsTransparency = true;Dim bookmarkDialog As New TXTextControl.WPF.BookmarkDialog(New TXTextControl.WPF.TextControl())
bookmarkDialog.AllowsTransparency = True