private static void UnitZPropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { MValueField3DInput instance = d as MValueField3DInput; if (instance == null) { return; } instance.UpdateUnitZTab(); }
private static void UnitYPropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { MValueField3DInput instance = d as MValueField3DInput; if (instance == null) { return; } foreach (MValueField2DInput entry in instance.tables) { entry.UnitY = instance.UnitY; } }
private static void NrCellsZPropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { MValueField3DInput instance = d as MValueField3DInput; if (instance == null) { return; } if (instance.NrCellsZ < 1) { return; } instance.AdaptTabsToNrCellZChange(); // synchronize axis values with first table instance.tables[0].SetAxisValues(); }