Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismContextProperties.cs =================================================================== diff -u -r3c1ed9049be26ab9460bf2192c55149c45fbba3c -r26359a31a29af21b6690cacd9b810b1565af9e4b --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismContextProperties.cs (.../HeightStructuresFailureMechanismContextProperties.cs) (revision 3c1ed9049be26ab9460bf2192c55149c45fbba3c) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismContextProperties.cs (.../HeightStructuresFailureMechanismContextProperties.cs) (revision 26359a31a29af21b6690cacd9b810b1565af9e4b) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System.ComponentModel; using Core.Common.Base.Data; using Core.Common.Gui.Attributes; using Core.Common.Gui.PropertyBag; @@ -106,29 +107,31 @@ #region Model settings [PropertyOrder(modelfactorOvertoppingFlowPropertyIndex)] + [TypeConverter(typeof(ExpandableObjectConverter))] [ResourcesCategory(typeof(Resources), "Categories_ModelSettings")] [ResourcesDisplayName(typeof(Resources), "HeightStructuresInputFailureMechanismContext_ModelFactorOvertoppingFlow_DisplayName")] [ResourcesDescription(typeof(Resources), "HeightStructuresInputFailureMechanismContext_ModelFactorOvertoppingFlow_Description")] - public ReadOnlyLogNormalDistributionProperties ModelFactorOvertoppingFlow + public LogNormalDistributionProperties ModelFactorOvertoppingFlow { get { - return new ReadOnlyLogNormalDistributionProperties + return new LogNormalDistributionProperties { Data = data.WrappedData.GeneralInput.ModelFactorOvertoppingFlow }; } } [PropertyOrder(modelFactorForStorageVolumePropertyIndex)] + [TypeConverter(typeof(ExpandableObjectConverter))] [ResourcesCategory(typeof(Resources), "Categories_ModelSettings")] [ResourcesDisplayName(typeof(Resources), "HeightStructuresInputFailureMechanismContext_ModelFactorForStorageVolume_DisplayName")] [ResourcesDescription(typeof(Resources), "HeightStructuresInputFailureMechanismContext_ModelFactorForStorageVolume_Description")] - public ReadOnlyLogNormalDistributionProperties ModelFactorForStorageVolume + public LogNormalDistributionProperties ModelFactorForStorageVolume { get { - return new ReadOnlyLogNormalDistributionProperties + return new LogNormalDistributionProperties { Data = data.WrappedData.GeneralInput.ModelFactorForStorageVolume };