Ejemplo n.º 1
0
        private static void UnitZPropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MValueField3DInput instance = d as MValueField3DInput;

            if (instance == null)
            {
                return;
            }

            instance.UpdateUnitZTab();
        }
Ejemplo n.º 2
0
        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;
            }
        }
Ejemplo n.º 3
0
        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();
        }