<StackPanel x:Name="SPMatchedVehicleQsjdc"
DataContext="{Binding RealtimeMonitorCollectionViewSource.View.CurrentItem, ConverterParameter=MatchedVehicleQsjdc, Converter={StaticResource AlarmDetailsConverter}, UpdateSourceTrigger=PropertyChanged}">
<DockPanel LastChildFill="False" Margin="0,2">
<TextBlock TextWrapping="Wrap" Text="号牌号码"/>
<TextBlock TextWrapping="Wrap" Text="{Binding HPHM}" DockPanel.Dock="Right"/>
</DockPanel>
</StackPanel>以下是编译时在调试输出窗口里显示的“警告” 这些警告是什么意思???????????
System.Windows.Data Error: 40 : BindingExpression path error: 'RealtimeMonitorCollectionViewSource' property not found on 'object' ''DataRowView' (HashCode=13078478)'. BindingExpression:Path=RealtimeMonitorCollectionViewSource.View.CurrentItem; DataItem='DataRowView' (HashCode=13078478); target element is 'StackPanel' (Name='SPMatchedVehicleQsjdc'); target property is 'DataContext' (type 'Object')
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货