Damit erhält man Zugriff auf die anderen Elemente/Spalten der aktuellen Datenzeile.
public ITableRow AssociatedTableRow {get;}
public: property ITableRow^ AssociatedTableRow { ITableRow^ get(); }
'Deklaration Public ReadOnly Property AssociatedTableRow As ITableRow
'Deklaration
Public ReadOnly Property AssociatedTableRow As ITableRow
... private void LL_AutoDefineField(object sender, AutoDefineElementEventArgs e) { Boolean bValue; Boolean.TryParse(e.AssociatedTableRow.Columns.FirstOrDefault(x => x.ColumnName == "<MyBooleanColumnName>").Content.ToString(), out bValue); string sValue = e.AssociatedTableRow.Columns.FirstOrDefault(x => x.ColumnName == "<MyTextColumnName>").Content.ToString(); // ... } ...
Plattformen: Windows 10 (Version 21H2 - 22H2), Windows 11 (21H2 - 23H2), Windows Server 2016 - 2022 .NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9
AutoDefineElementEventArgs Klasse AutoDefineElementEventArgs Member