コード例 #1
0
 private void SlottedItemOnPropertyChanged(object sender, PropertyChangedEventArgs args)
 {
     if (args.PropertyName == nameof(Item.JsonBase))
     {
         ItemDataChanged?.Invoke(this, EventArgs.Empty);
     }
 }
コード例 #2
0
 /// <summary>
 /// Bubbles the <see cref="DataObject.DataChanged"/> event of an item in this collection.
 /// </summary>
 protected virtual void OnItemDataChanged(object sender, DataObjectChangeEventArgs e)
 {
     // Fire event
     ItemDataChanged?.Invoke(sender, e);
 }