using System; using System.ComponentModel; using System.Runtime.CompilerServices; namespace QuikDawEditor.VST; public class VstParameter : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; private void NotifyPropertyChanged([CallerMemberName] String propertyName = "") { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } public string ParameterName { get; set; } public string DetailValue { get { return ParameterValue.ToString(); } } public string DisplayName { get { return ParameterName; } } private float _ParameterValue = 0f; public float ParameterValue { get { return _ParameterValue; } set { _ParameterValue = value; NotifyPropertyChanged(nameof(DetailValue)); } } public string selBmSource { get { return null; } } }