/// <summary> /// triggers the ILGraphCollectionChanged event /// </summary> /// <param name="sender"></param> /// <param name="reason"></param> void OnChange(ILGraph graph, GraphCollectionChangeReason reason, IILPanelConfigurator configurator) { if (CollectionChanged != null) { CollectionChanged(this, new ILGraphCollectionChangedEventArgs((ILGraph)graph, reason, configurator)); } }
/// <summary> /// arguments for GraphCollectionChanged events /// </summary> /// <param name="graph">the graph who was changed, for ILPlot: the scene graph</param> /// <param name="reason">reason</param> /// <param name="configurator"> instance of IILPanelConfigurator or null</param> public ILGraphCollectionChangedEventArgs(ILGraph graph, GraphCollectionChangeReason reason, IILPanelConfigurator configurator) { this.Graph = graph; this.Reason = reason; this.Configurator = configurator; }