Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirkster99 committed Mar 8, 2021
2 parents 69038ea + 1b8c1f5 commit df288d6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions source/Components/AvalonDock/Controls/LayoutDocumentPaneControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,19 @@ internal LayoutDocumentPaneControl(LayoutDocumentPane model, bool isVirtualizing

#region Overrides

/// <summary>
/// Invoked when an unhandled SelectionChanged routed event is raised on this element. Implement this method
/// to add class handling for this event.
/// </summary>
/// <param name="e">The <see cref="SelectionChangedEventArgs"/> that contains the event data.
/// The event reports that the selection changed.</param>
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
{
base.OnSelectionChanged(e);
if (_model.SelectedContent != null)
_model.SelectedContent.IsActive = true;
}

/// <summary>
/// Invoked when an unhandled <see cref="System.Windows.UIElement.MouseLeftButtonDown"/> routed
/// event is raised on this element. Implement this method to add class handling
Expand Down

0 comments on commit df288d6

Please sign in to comment.