/// <summary>
 /// Initializes the <see cref="WindowStateSettings"/> class.
 /// </summary>
 static WindowStateSettings()
 {
     // Ensure we have a local instance so the settings always work.
     localInstance = new WindowStateSettings();
 }
        /// <summary>
        /// Configures the window state settings to pull from the settings manager
        /// and from a given path.
        /// </summary>
        /// <param name="manager">The manager.</param>
        /// <param name="path">The path.</param>
        public static void Load(
			SettingsManager manager,
			HierarchicalPath path = null)
        {
            // Make sure we have a path for loading from the settings manager.
            if (path == null)
            {
                path = new HierarchicalPath("/WindowStateSettings");
            }

            // Save the various elements used for retrieval.
            settingsManager = manager;
            settingsPath = path;
            localInstance = null;
        }
 /// <summary>
 /// Initializes the <see cref="WindowStateSettings"/> class.
 /// </summary>
 static WindowStateSettings()
 {
     // Ensure we have a local instance so the settings always work.
     localInstance = new WindowStateSettings();
 }