Hey,
when dual binding the IsSelected property of a LayoutItem, a null ref exception is thrown inside the changed callback method.
/// <summary> /// Provides derived classes an opportunity to handle changes to the IsSelected property. /// </summary> protected virtual void OnIsSelectedChanged(DependencyPropertyChangedEventArgs e) { if (_isSelectedReentrantFlag.CanEnter) { using (_isSelectedReentrantFlag.Enter()) { LayoutElement.IsSelected = (bool)e.NewValue; } } }
The property LayoutElement is not set.
Regards
Alex