public static CollectionViewSourcePropertyWatcher GetProperty(DependencyObject depObj) { var objList = depObj.GetValue(Property) as CollectionViewSourcePropertyWatcher; if (objList == null) { objList = new CollectionViewSourcePropertyWatcher(); SetProperty(depObj, objList); } return(objList); }
public static void SetProperty(DependencyObject depObj, CollectionViewSourcePropertyWatcher value) { depObj.SetValue(Property, value); }