# EditDataRelationsDialog Constructor

> Creates a EditDataRelationsDialog object for the specified DocumentServer.DataSources.DataSourceManager.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Constructor
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.DocumentServer.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXDocumentServer.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.DocumentServer.WPF > EditDataRelationsDialog Constructor
- **490 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/constructor/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/constructor/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/constructor/llms-full.txt

---

### Description

Creates a EditDataRelationsDialog object for the specified [DocumentServer.DataSources.DataSourceManager](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/datasourcemanager/llms-full.txt).

### Syntax

```csharp
public EditDataRelationsDialog(DataSourceManager dataSourceManager);
```

```vbnet
Public Sub New(dataSourceManager As DataSourceManager)
```

### Parameters

| Parameter | Description |
|---|---|
| dataSourceManager | Specifies the [DataSourceManager](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/datasourcemanager/llms-full.txt), which manages the current data source. |

### Examples

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

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

```vbnet
Dim editDataRelationsDialog As New TXTextControl.DocumentServer.WPF.EditDataRelationsDialog(New TXTextControl.DocumentServer.DataSources.DataSourceManager())
editDataRelationsDialog.AllowsTransparency = True
```

---

## Nearby

- **Previous:** [EditDataRelationsDialog Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/llms-full.txt)
- **Next:** [EditMergeBlocksDialog Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editmergeblocksdialog/llms-full.txt)
