TX Text Control .NET for Windows Forms

DeleteBookmarksDialog Class

Class|Introduced in 23.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.
Inherits
  1. Form
  2. DeleteBookmarksDialog

Description

The DeleteBookmarksDialog class implements a Windows Forms dialog box which shows all targets in the current document. The user can jump to a target or can delete one or more targets. Each item of the dialog box has a name, available through its Name property, which corresponds with a member of the DeleteBookmarksDialog.DialogItem enumeration. The DeleteBookmarksDialog.FindItem method can be used to get a certain item and manipulate, move or delete it. The DeleteBookmarksDialog is a modal dialog box which must be shown with the DeleteBookmarksDialog.ShowDialog method.

Syntax

public class DeleteBookmarksDialog : Form

Examples

The following example creates an DeleteBookmarksDialog object and shows the dialog box:

DeleteBookmarksDialog dlg = new DeleteBookmarksDialog(textControl1);
dlg.ShowDialog();

The following example creates a Delete Bookmarks Dialog instance and configures its allow transparency setting for a document workflow.

using DeleteBookmarksDialog deleteBookmarksDialog = new(new TextControl());
deleteBookmarksDialog.AllowTransparency = true;

Members

Constructors

ConstructorDescription
DeleteBookmarksDialogCreates a DeleteBookmarksDialog object for the specified Windows Forms TextControl.

Methods

MethodDescription
FindItemFinds a control that has the provided identifier name.

Fields

FieldDescription
TXITEM_AutoGenerationBookmarksNot described in the reference. public CheckBox TXITEM_AutoGenerationBookmarks;
TXITEM_BookmarkListNot described in the reference. public ListBox TXITEM_BookmarkList;
TXITEM_BookmarkListLabelNot described in the reference. public Label TXITEM_BookmarkListLabel;
TXITEM_CancelNot described in the reference. public System.Windows.Forms.Button TXITEM_Cancel;
TXITEM_DeleteBookmarkNot described in the reference. public System.Windows.Forms.Button TXITEM_DeleteBookmark;
TXITEM_GotoBookmarkNot described in the reference. public System.Windows.Forms.Button TXITEM_GotoBookmark;
TXITEM_MainPanelNot described in the reference. public TableLayoutPanel TXITEM_MainPanel;

Enumerations

EnumerationDescription
DialogItemEach DialogItem represents an item in a DeleteBookmarksDialog dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The DialogItem enumeration can be used with the DeleteBookmarksDialog.FindItem method to get the item and manipulate it.