public WindowApplicationSettings(WindowSettings windowSettings, string sInstanceKey) : base(sInstanceKey) { }
/// <summary> /// Called when SaveSize is changed on an object. /// </summary> private static void OnSaveSizeInvalidated(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) { Window window = dependencyObject as Window; if (window != null) { if ((bool)e.NewValue) { WindowSettings settings = new WindowSettings(window, false, true, null); settings.Attach(); } } }