Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/PropertyClasses/WaveConditionsInputContextProperties.cs =================================================================== diff -u -r998e73d396cfffed52646ecd18dbe8c3eee06497 -r07d1991332e5604dd6fa2f920697f8f3f85987ac --- Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/PropertyClasses/WaveConditionsInputContextProperties.cs (.../WaveConditionsInputContextProperties.cs) (revision 998e73d396cfffed52646ecd18dbe8c3eee06497) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/PropertyClasses/WaveConditionsInputContextProperties.cs (.../WaveConditionsInputContextProperties.cs) (revision 07d1991332e5604dd6fa2f920697f8f3f85987ac) @@ -115,7 +115,17 @@ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_HydraulicData))] [ResourcesDisplayName(typeof(Resources), nameof(Resources.WaveConditionsInput_CategoryType_DisplayName))] [ResourcesDescription(typeof(Resources), nameof(Resources.WaveConditionsInput_CategoryType_Description))] - public abstract TCategory CategoryType { get; set; } + public TCategory CategoryType + { + get + { + return GetCategoryType(); + } + set + { + PropertyChangeHelper.ChangePropertyAndNotify(() => SetCategoryType(value), propertyChangeHandler); + } + } [PropertyOrder(assessmentLevelPropertyIndex)] [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_HydraulicData))] @@ -349,5 +359,17 @@ return SelectableHydraulicBoundaryLocationHelper.GetSortedSelectableHydraulicBoundaryLocations( data.HydraulicBoundaryLocations, referenceLocation); } + + /// + /// Gets the category type that is set to the wave conditions input. + /// + /// The category type at stake. + protected abstract TCategory GetCategoryType(); + + /// + /// Sets the provided category type to the wave conditions input. + /// + /// The category type to set. + protected abstract void SetCategoryType(TCategory categoryType); } } \ No newline at end of file