private RaisePlotChanged ( String property ) : void | ||
property | String | The property name to take as argument. |
return | void |
internal void RaisePlotChanged(String property)
{
if (OnPlotChanged != null)
{
var args = new PlotEventArgs(this, property);
OnPlotChanged(this, args);
}
}
public void Function(PlotValue plot, StringValue property, Value newValue) { var propertyName = property.Value; AlterProperty(plot, propertyName, newValue); plot.RaisePlotChanged(propertyName); Context.RaiseNotification(new NotificationEventArgs(NotificationType.Success, "Property changed")); }