/// <summary>
        /// Creates the color picker control.
        /// </summary>
        /// <param name="property">The property.</param>
        /// <returns>
        ///
        /// </returns>
        protected virtual FrameworkElement CreateColorPickerControl(PropertyDefinition property)
        {
            var c = new ColorPicker2 {
                VerticalAlignment = VerticalAlignment.Center, HorizontalAlignment = HorizontalAlignment.Stretch
            };

            c.SetBinding(ColorPicker2.SelectedColorProperty, property.CreateBinding());
            return(c);
        }
 /// <summary>
 /// Creates the color picker control.
 /// </summary>
 /// <param name="property">The property.</param>
 /// <returns></returns>
 protected virtual FrameworkElement CreateColorPickerControl(PropertyDefinition property)
 {
     var c = new ColorPicker2 { VerticalAlignment = VerticalAlignment.Center, HorizontalAlignment = HorizontalAlignment.Stretch };
     c.SetBinding(ColorPicker2.SelectedColorProperty, property.CreateBinding());
     return c;
 }