Beispiel #1
0
        public void RemoveCustomPropertyItem(ITreeItem item, DictionaryPropertyDescriptor propertyDescriptor)
        {
            _memento.Record(@"Delete custom property", () =>
            {
                propertyDescriptor.Remove(propertyDescriptor.Name);

                tryFire(() => ItemChanged, item);
            });
        }
Beispiel #2
0
        public void RemoveCustomPropertyItem( ITreeItem item, DictionaryPropertyDescriptor propertyDescriptor )
        {
            _memento.Record(@"Delete custom property", () =>
                                                           {

                                                               propertyDescriptor.Remove(propertyDescriptor.Name);

                                                               tryFire(() => ItemChanged, item);
                                                           });
        }