public CurveDialogViewModel(dEngine.Instances.Instance instance, string propertyName)
 {
     DisplayName = $"{instance.GetFullName()}.{propertyName}";
     Width       = MinWidth = 800;
     Height      = MinHeight = 250;
 }
 public ColourSequenceEditorViewModel(object obj, Inst.CachedProperty propDesc) : base(obj, propDesc)
 {
     GradientStops = new GradientStopCollection();
     _instance     = (dEngine.Instances.Instance)obj;
     _propDesc     = propDesc;
 }