コード例 #1
0
        void PropertyChanged2(UIElement src)
        {
            string fullpropname     = "";
            string propType         = "";
            string OriginalPropName = "";


            List <string> path = src.ExtractPropPath(ref OriginalPropName, ref fullpropname, ref propType);



            switch (propType)
            {
            case "Form":
                GenericProperties.copyProperty_STT(this, prop, fullpropname, path);
                break;

            case "AngularGauge":

                GenericProperties.copyProperty_STT(_angularGauge, prop, fullpropname, path);



                break;

            case "DataSource":
                manager.AjustHint("");
                break;
            }
        }
コード例 #2
0
        void PropertyChanged(PropertyValueChangedEventArgs e)
        {
            string fullpropname     = "";
            string propType         = "";
            string OriginalPropName = "";

            GridItem      p    = e.ChangedItem;
            List <string> path = GenericProperties.ExtractPropPath(p, ref OriginalPropName, ref fullpropname, ref propType);


            switch (propType)
            {
            case "Form":
                GenericProperties.copyProperty_STT(this, prop, fullpropname, path);
                break;

            case "display":
                GenericProperties.copyProperty_STT(_display, prop, fullpropname, path);
                break;

            case "DataSource":
                manager.AjustHint("");
                break;
            }
        }