private static void ParentWindowPropertyChanged(DependencyObject source, DependencyPropertyChangedEventArgs e) { AirspacePopup airspacePopup = source as AirspacePopup; airspacePopup.ParentWindowChanged(); }
private static void OnIsTopmostChanged(DependencyObject source, DependencyPropertyChangedEventArgs e) { AirspacePopup airspacePopup = source as AirspacePopup; airspacePopup.SetTopmostState(airspacePopup.IsTopmost); }