public ConfigurationPanelBehavior(RadGridView gridView, FrameworkElement panel) { this.RemoveChildTableDefinitionsCommand = new RemoveChildTableDefinitonsCommand(this); this.RestoreChildTableDefinitionsCommand = new RestoreChildTableDefinitonsCommand(this); this.gridView = gridView; this.controlPanel = panel; this.gridView.DataLoading += this.gridView_DataLoading; panel.LayoutUpdated += this.panel_LayoutUpdated; }