public ObjectGraphControl()
		{
			InitializeComponent();
			
			debuggerService = DebuggerService.CurrentDebugger as WindowsDebugger;
			if (debuggerService == null) throw new ApplicationException("Only windows debugger is currently supported");
			
			this.layoutViewModel = new EnumViewModel<LayoutDirection>();
			this.layoutViewModel.PropertyChanged += new PropertyChangedEventHandler(layoutViewModel_PropertyChanged);
			this.cmbLayoutDirection.DataContext = this.layoutViewModel;
			
			this.graphDrawer = new GraphDrawer(this.canvas);
		}
        public ObjectGraphControl()
        {
            InitializeComponent();

            debuggerService = DebuggerService.CurrentDebugger as WindowsDebugger;
            if (debuggerService == null)
            {
                throw new ApplicationException("Only windows debugger is currently supported");
            }

            this.layoutViewModel = new EnumViewModel <LayoutDirection>();
            this.layoutViewModel.PropertyChanged += new PropertyChangedEventHandler(layoutViewModel_PropertyChanged);
            this.cmbLayoutDirection.DataContext   = this.layoutViewModel;

            this.graphDrawer = new GraphDrawer(this.canvas);
        }