private void OnContextMenuClosingInternal() { InContextMenu = false; if (IsDropDownOpen) { RibbonHelper.AsyncSetFocusAndCapture(this, delegate() { return IsDropDownOpen; }, this, this); } }