private void Initialize(CustomPaletteContext context)
 {
     DataContext = context;
     CommandBindings.AddRange(context.Commands);
 }
 internal CustomPaletteEditor(CustomPaletteContext context)
 {
     InitializeComponent();
     Initialize(context);
     LostKeyboardFocus += UserControl_LostKeyboardFocus;
 }