static void OnErrorsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var viewModel = (QuickVariableInputViewModel)d;
var errors = e.NewValue as IList<IActionableErrorInfo>;
var isValid = errors == null || errors.Count == 0;
viewModel.IsValid = isValid;
}
public bool IsClosed