public GradientPickView(GradientModel gradientModel, double gradientValue,
                         Action <GradientCallbackType, object, double> gradientPickCallback)
 {
     InitializeComponent();
     DataContext = new GradientPickViewModel(gradientModel, gradientValue, gradientPickCallback);
 }
 public GradientPickView()
 {
     InitializeComponent();
     DataContext = new GradientPickViewModel();
 }