src/Misc/EFTools/XmlCore/UI/Views/Explorer/ExplorerFrame.cs
/// <summary>
///     Handler for the event when the any mouse button is release while the mouse pointer is over this element.
///     This is just to ensure that we release mouse capture and reset _isTreeViewMouseDown flag.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
Handler for the event when the any mouse button is release while the mouse pointer is over this element.
This is just to ensure that we release mouse capture and reset _isTreeViewMouseDown flag.
Handler for the event when the any mouse button is release while the mouse pointer is over this element . This is just to ensure that we release mouse capture and reset _isTreeViewMouseDown flag .
private void OnTreeViewPreviewMouseUp(object sender, MouseButtonEventArgs e)
        {
            Debug.Assert(ExplorerTreeView != null, "Why ExplorerTreeView is null?");
            if (ExplorerTreeView != null)
            {
                try
                {
                    ExplorerTreeView.ReleaseMouseCapture();
                }
                finally
                {
                    _isTreeViewMouseDown = false;
                }
            }
        }
private void OnTreeViewPreviewMouseUp ( object sender , MouseButtonEventArgs e ) { Debug . Assert ( ExplorerTreeView != null , " " ) ; if ( ExplorerTreeView != null ) { try { ExplorerTreeView . ReleaseMouseCapture ( ) ; } finally { _isTreeViewMouseDown = false ; } } }
Handler for the event when the any mouse button is release while the mouse pointer is over this element.
Handler for the event when the any mouse button is release while the mouse pointer is over this element .
sender
object
None
e
MouseButtonEventArgs
None