Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingSoilLayerTable.cs =================================================================== diff -u -ra246db9c5134d2c12ee5a37b19bde5e442acce38 -r5e6189fbdb1d72d1ac13c1c5471315778f812561 --- Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingSoilLayerTable.cs (.../PipingSoilLayerTable.cs) (revision a246db9c5134d2c12ee5a37b19bde5e442acce38) +++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingSoilLayerTable.cs (.../PipingSoilLayerTable.cs) (revision 5e6189fbdb1d72d1ac13c1c5471315778f812561) @@ -19,15 +19,21 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using System.Collections.Generic; using Core.Common.Controls.DataGrid; using Ringtoets.Piping.Primitives; namespace Ringtoets.Piping.Forms.Views { + /// + /// This class defines a table in which properties of instances + /// are shown as rows. + /// public class PipingSoilLayerTable : DataGridViewControl { + /// + /// Creates a new instance of . + /// public PipingSoilLayerTable() { AddColumns(); @@ -46,7 +52,7 @@ private void AddColumns() { AddTextBoxColumn(nameof(PipingSoilLayer.MaterialName), "Naam", true); - AddTextBoxColumn(nameof(PipingSoilLayer.Color), "Kleur", true); + AddColorColumn(nameof(PipingSoilLayer.Color), "Kleur"); AddTextBoxColumn(nameof(PipingSoilLayer.Top), "Topniveau [m+NAP]", true); AddCheckBoxColumn(nameof(PipingSoilLayer.IsAquifer), "Is aquifer", true); AddTextBoxColumn(nameof(PipingSoilLayer.PermeabilityMean), "Doorlatendheid (verwachtingswaarde) [m/s]", true);