1
Vote

[Version 2.0.2000]exception throw when click a AnchorablePane while set it's IsVisible to false, Resolution is to...

description

resolution is:
change file LayoutAnchorablePaneControl.cs line 65
protected override void OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs e)
    {
        model.SelectedContent.IsActive = true;

        base.OnGotKeyboardFocus(e);
    }
to:
protected override void OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs e)
    {
       if( _model.SelectedContent!=null) _model.SelectedContent.IsActive = true;

        base.OnGotKeyboardFocus(e);
    }

comments