# EditDataRelationsDialog Class

> 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.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **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
- **Inherits:** `System.Windows.Window`
- **Implements:** `System.Windows.Markup.IComponentConnector`
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.DocumentServer.WPF > EditDataRelationsDialog Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/#members)

---

## In This Section

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

---

## Nearby

- **Previous:** [TXTextControl.DocumentServer.WPF namespace](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/llms.txt)
- **Next:** [EditDataRelationsDialog Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/editdatarelationsdialog/constructor/llms.txt)
