public static void BringToFront(this NSView theView) { if(theView.Superview == null) return; theView.Superview.BringSubviewToFront(theView); } }