public bool OnMouseLeave(EventArgs e) { bool handled = false; // if we aren't active do nothing. if ((!m_visible) || (!m_enabled)) { return(false); } for (int index = 0; index < m_ChildWidgets.Count; index++) { IWidget currentWidget = m_ChildWidgets[index] as IWidget; if (currentWidget != null && currentWidget is IInteractive) { IInteractive currentInteractive = m_ChildWidgets[index] as IInteractive; handled = currentInteractive.OnMouseLeave(e); if (handled) { return(handled); } } } return(handled); }