Что такое кэшируемый аксессуар в контексте DataBinding?
Я получаю эту информацию трассировки для привязки:
System.Windows.Data Warning: 55 : Created BindingExpression (hash=45919010) for Binding (hash=4523055)
System.Windows.Data Warning: 57 : Path: 'IsEnvelopeFocused'
System.Windows.Data Warning: 59 : BindingExpression (hash=45919010): Default mode resolved to TwoWay
System.Windows.Data Warning: 60 : BindingExpression (hash=45919010): Default update trigger resolved to PropertyChanged
System.Windows.Data Warning: 61 : BindingExpression (hash=45919010): Attach to System.Windows.Controls.DataGridCell.IsFocused (hash=42777048)
System.Windows.Data Warning: 66 : BindingExpression (hash=45919010): Resolving source
System.Windows.Data Warning: 69 : BindingExpression (hash=45919010): Found data context element: DataGridCell (hash=42777048) (OK)
System.Windows.Data Warning: 77 : BindingExpression (hash=45919010): Activate with root item VulnerEnvelope (hash=53089570)
System.Windows.Data Warning: 106 : BindingExpression (hash=45919010): At level 0 using cached
accessor for VulnerEnvelope.IsEnvelopeFocused: RuntimePropertyInfo(IsEnvelopeFocused)
System.Windows.Data Warning: 103 : BindingExpression (hash=45919010): Replace item at level 0 with VulnerEnvelope (hash=53089570), using accessor RuntimePropertyInfo(IsEnvelopeFocused)
System.Windows.Data Warning: 100 : BindingExpression (hash=45919010): GetValue at level 0 from VulnerEnvelope (hash=53089570) using RuntimePropertyInfo(IsEnvelopeFocused): 'False'
System.Windows.Data Warning: 79 : BindingExpression (hash=45919010): TransferValue - got raw value 'False'
Я также использую конвертер для вывода потока данных:Target -> Source
а также .Source -> Target
Кроме того, я вывожу информацию привязки для присоединенного свойства при каждом его изменении.
Привязка остается активной, но источник и цель не синхронизируются. Я неЯ не знаю, что является причиной этой неисправности, и поскольку VS2012 печатает предупреждение 106 красным, я думаю, что проблема где-то рядом с этим сообщением.
А вот и связывание: