TX Text Control .NET for WPF

BookmarkDialog Constructor

Constructor|Introduced in 22.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

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);
ParameterDescription
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);
ParameterDescription
textControl

Specifies the WPF.TextControl for which the dialog box is opened.

bookmarkToEdit

Specifies the DocumentTarget to edit.

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;