private void ContentTextBox_LostFocus(object sender, RoutedEventArgs e) { PopupWindow.HideWindow(); }
public static void HideWindow() { PopupWindow.HideWindow(false); }
public static void ShowWindow(Control control, PopupWindowBackgroundType backgroundType) { if (mWindow == null) { mWindow = new PopupWindow { content = control, BackgroundType = backgroundType }; mWindow.Show(); } }
public static void ShowWindow(Control control) { PopupWindow.ShowWindow(control, PopupWindowBackgroundType.Transluent); }
public static void HideWindow(bool isCanceled) { if (mWindow != null) { mWindow.Hide(isCanceled); mWindow = null; } }