ObiWanLansi / SIGENCE-Scenario-Tool

A little tool to place RF Devices on a map, edit, save and load them, or export the devicelist to a file (.csv, .xml, .xlsx)
GNU Lesser General Public License v3.0
6 stars 4 forks source link

Error When Switching An RxTxType In The DataGrid #191

Open ObiWanLansi opened 5 years ago

ObiWanLansi commented 5 years ago

When Changing An RxTxType For An Device In The DataGrid, An Error Is Thrown:

System.Windows.Data Error: 1 : Cannot create default converter to perform 'two-way' conversions between types 'SIGENCEScenarioTool.Models.RxTxTypes.RxTxType' and 'System.String'. Consider using Converter property of Binding. BindingExpression:Path=RxTxType; DataItem='RFDeviceViewModel' (HashCode=39293304); target element is 'DataGridCell' (Name=''); target property is 'CellContent' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='SBandRadar' BindingExpression:Path=RxTxType; DataItem='RFDeviceViewModel' (HashCode=39293304); target element is 'DataGridCell' (Name=''); target property is 'CellContent' (type 'String')
ObiWanLansi commented 5 years ago

The Error Are Only Shows In The IDE, At Work With This Tool It Have No Impact. I Tried To Use An Converter, But Then Other Problems Occured.