Index: src/Deltares.DSoilModel.Forms/SosSoilProfile1DControl.cs =================================================================== diff -u -r6 -r237 --- src/Deltares.DSoilModel.Forms/SosSoilProfile1DControl.cs (.../SosSoilProfile1DControl.cs) (revision 6) +++ src/Deltares.DSoilModel.Forms/SosSoilProfile1DControl.cs (.../SosSoilProfile1DControl.cs) (revision 237) @@ -1,7 +1,6 @@ using System.Windows.Forms; using Deltares.DSoilModel.Data; using Deltares.Geotechnics; -using Deltares.Standard; using Deltares.Standard.EventPublisher.Enum; using Deltares.Standard.Forms; using Deltares.Standard.Forms.DExpress; @@ -19,6 +18,7 @@ ((IPropertyControl) this).Name = "SosSoilProfile1DControl"; BindSupport.BindTextAndValue(this, NameLabel, NameEdit, typeof(SoilProfile1D), "Name"); + BindSupport.Bind(this, LocationGroupControl, p => p.Location); BindSupport.BindTextValueAndUnit(this, ProbabilityLabel, ProbabilityEdit, p => p.ProbabilityOfOccurrence); Index: src/Deltares.DSoilModel.Forms/SosSoilProfile1DControl.Designer.cs =================================================================== diff -u -r229 -r237 --- src/Deltares.DSoilModel.Forms/SosSoilProfile1DControl.Designer.cs (.../SosSoilProfile1DControl.Designer.cs) (revision 229) +++ src/Deltares.DSoilModel.Forms/SosSoilProfile1DControl.Designer.cs (.../SosSoilProfile1DControl.Designer.cs) (revision 237) @@ -139,7 +139,7 @@ this.LocationGroupControl.Size = new System.Drawing.Size(404, 116); this.LocationGroupControl.TabIndex = 10; this.LocationGroupControl.Text = "Location"; - this.LocationGroupControl.Visible = false; + this.LocationGroupControl.Visible = true; // // SoilLabel // Index: src/Deltares.DSoilModel.Forms/DSoilModelContext.cs =================================================================== diff -u -r233 -r237 --- src/Deltares.DSoilModel.Forms/DSoilModelContext.cs (.../DSoilModelContext.cs) (revision 233) +++ src/Deltares.DSoilModel.Forms/DSoilModelContext.cs (.../DSoilModelContext.cs) (revision 237) @@ -137,7 +137,10 @@ var profile1D = source as SoilProfile1D; if (profile1D != null) { - if (member == profile1D.GetMemberName(x => x.ProbabilityOfOccurrence) || member == profile1D.GetMemberName(x => x.X) || member == profile1D.GetMemberName(x => x.Y)) + if (member == profile1D.GetMemberName(sp1 => sp1.Location) || + member == profile1D.GetMemberName(x => x.ProbabilityOfOccurrence) || + member == profile1D.GetMemberName(x => x.X) || + member == profile1D.GetMemberName(x => x.Y)) return false; } Index: src/Deltares.DSoilModel.Tests/DSoilModelContextTest.cs =================================================================== diff -u -r233 -r237 --- src/Deltares.DSoilModel.Tests/DSoilModelContextTest.cs (.../DSoilModelContextTest.cs) (revision 233) +++ src/Deltares.DSoilModel.Tests/DSoilModelContextTest.cs (.../DSoilModelContextTest.cs) (revision 237) @@ -291,6 +291,8 @@ Assert.IsTrue(isVisible != null && !isVisible.Value); isVisible = dSoilModelContext.IsVisible(sp1, sp1.GetMemberName(x => x.Y)); Assert.IsTrue(isVisible != null && !isVisible.Value); + isVisible = dSoilModelContext.IsVisible(sp1, sp1.GetMemberName(x => x.Location)); + Assert.IsTrue(isVisible != null && !isVisible.Value); } [Test]