TX Text Control .NET for WPF

EditDataRelationsDialog Class

Class|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.WPF.dll from the setup.
Inherits
  1. Window
  2. EditDataRelationsDialog
Implements
IComponentConnector

Description

The EditDataRelationsDialog class allows the user to add or remove data relations to or from the current data source. The EditDataRelationsDialog is a modal dialog box which must be shown with the DocumentServer.WPF.EditDataRelationsDialog.ShowDialog method.

Syntax

public class EditDataRelationsDialog : Window, IComponentConnector

Examples

The following example creates an Edit Data Relations Dialog instance and configures its allows transparency setting for a document workflow.

TXTextControl.DocumentServer.WPF.EditDataRelationsDialog editDataRelationsDialog = new(new TXTextControl.DocumentServer.DataSources.DataSourceManager());
editDataRelationsDialog.AllowsTransparency = true;

Members

Constructors

ConstructorDescription
EditDataRelationsDialogCreates a EditDataRelationsDialog object for the specified DocumentServer.DataSources.DataSourceManager.

Methods

MethodDescription
InitializeComponentNot described in the reference. public void InitializeComponent();
ShowNot described in the reference. public void Show();
ShowDialogNot described in the reference. public bool? ShowDialog();