Esempio n. 1
0
        public static CollectionViewSourcePropertyWatcher GetProperty(DependencyObject depObj)
        {
            var objList = depObj.GetValue(Property) as CollectionViewSourcePropertyWatcher;

            if (objList == null)
            {
                objList = new CollectionViewSourcePropertyWatcher();

                SetProperty(depObj, objList);
            }

            return(objList);
        }
Esempio n. 2
0
 public static void SetProperty(DependencyObject depObj, CollectionViewSourcePropertyWatcher value)
 {
     depObj.SetValue(Property, value);
 }