/// <summary> /// Get a serializable property on the document /// </summary> /// <remarks>This can be used to store data important to the GUI for example, which isn't really part of the document model</remarks> /// <param name="name">The name of the property</param> /// <returns>The object, null if the property doesn't exist</returns> public object GetProperty(string name) { if (_properties.ContainsKey(name)) { try { return(GeneralUtils.BytesToObject(_properties[name])); } catch (SerializationException) { } } return(null); }