YAMP.PlotValue.RaisePlotChanged C# (CSharp) Метод

RaisePlotChanged() приватный Метод

Invokes the OnPlotChanged event if it has been set.
private RaisePlotChanged ( String property ) : void
property String The property name to take as argument.
Результат void
        internal void RaisePlotChanged(String property)
        {
            if (OnPlotChanged != null)
            {
                var args = new PlotEventArgs(this, property);
                OnPlotChanged(this, args);
            }
        }

Usage Example

Пример #1
0
        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"));
        }
All Usage Examples Of YAMP.PlotValue::RaisePlotChanged