public ControlPanelBehavior(RadGridView gridView, FrameworkElement panel) { this.AddCommand = new UnboundMode.AddCommand(this); this.RemoveCommand = new UnboundMode.RemoveCommand(this); this.ClearCommand = new UnboundMode.ClearCommand(this); this.gridView = gridView; this.panel = panel; this.panel.LayoutUpdated += new EventHandler(panel_LayoutUpdated); FillGrid(); }
public ControlPanelBehavior(RadGridView gridView, FrameworkElement panel) { this.AddCommand = new UnboundMode.AddCommand(this); this.RemoveCommand = new UnboundMode.RemoveCommand(this); this.ClearCommand = new UnboundMode.ClearCommand(this); this.gridView = gridView; this.panel = panel; this.panel.LayoutUpdated += new EventHandler(panel_LayoutUpdated); FillGrid(); }