From cf9591ae83a19b17f168ed75f4d117ebafbba43f Mon Sep 17 00:00:00 2001 From: John Colvin Date: Fri, 21 Jan 2022 21:06:52 -0500 Subject: [PATCH] Init value for vs cell view DIYGrid.ColumnProperty --- .../spark/AW2/ViewModel/Grid/VolSurfaceSimplifiedGridVM.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/spark/AW2/ViewModel/Grid/VolSurfaceSimplifiedGridVM.cs b/src/client/spark/AW2/ViewModel/Grid/VolSurfaceSimplifiedGridVM.cs index 7392f894d..a0c8a5747 100644 --- a/src/client/spark/AW2/ViewModel/Grid/VolSurfaceSimplifiedGridVM.cs +++ b/src/client/spark/AW2/ViewModel/Grid/VolSurfaceSimplifiedGridVM.cs @@ -71,6 +71,7 @@ namespace mbts.spark.VolSurface { } case VolSurfaceSimplifiedColumnType.ReadWriteTick: { var view = new VolSurfaceCellView(); + view.SetCurrentValue(DIYGrid.ColumnProperty, this); view.CommandBindings.Add(new CommandBinding(VolSurfaceCellView.BeginEditCommand, VolSurfaceCellView.BeginEditExecuted)); view.CommandBindings.Add(new CommandBinding(VolSurfaceCellView.EndEditCommand, VolSurfaceCellView.EndEditExecuted));