This example illustrates how to hide a peek form when the mouse pointer leaves it. The main idea of this approach is to check if the mouse pointer is located within the peek form or OfficeNavigationBar boundaries. To simplify the solution, we created a special OfficeNavigationBarHelper class. To enable this feature, call the OfficeNavigationBarHelper.SetPeekFormBehavior method.
↧