コード例 #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);
        }
コード例 #2
0
 public static void SetProperty(DependencyObject depObj, CollectionViewSourcePropertyWatcher value)
 {
     depObj.SetValue(Property, value);
 }