DataRelationsChanged Event
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Is fired when the contents of the DataRelations property change.
Syntax
public event EventHandler DataRelationsChanged;Public Event DataRelationsChanged As EventHandlerExamples
The following example records useful context when data relations changed occurs.
dataSourceManager.DataRelationsChanged += (sender, e) =>
{
Console.WriteLine($"Data Relations Changed at {DateTime.Now:u}");
};AddHandler dataSourceManager.DataRelationsChanged,
Sub(sender, e)
Console.WriteLine($"Data Relations Changed at {DateTime.Now:u}")
End Sub