public IconMargin(DebuggerTabItem debuggerView) { _debuggerView = debuggerView; _contextMenu.CommandBindings.Add(new CommandBinding(_enableBreakPointCommand, EnableBreakpointExecutedHandler)); _contextMenu.CommandBindings.Add(new CommandBinding(_disableBreakPointCommand, DisableBreakpointExecutedHandler)); _contextMenu.Items.Add(_enableBreakpointMenuItem = new MenuItem { Header = "_Enable", Command = _enableBreakPointCommand }); _contextMenu.Items.Add(_disableBreakpointMenuItem = new MenuItem { Header = "_Disable", Command = _disableBreakPointCommand }); }