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