protected virtual void OnNewPropertyAdded(PropertyAddedEventArgs e) { var handler = NewPropertyAdded; if (handler != null) handler(this, e); }
private void PropertiesManagerOnNewPropertyAdded(object Sender, PropertyAddedEventArgs e) { if (e.Property.Placement != null) Dispatcher.BeginInvoke((Action<PropertyViewModel>)Properties.Add, FabricateViewModel(e.Property)); }