mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
Build the layout and call InitLayout up front in DockWorkspace instead of letting DockControl run it post-template-apply, and populate the locators explicitly: tool panes map their id to the [Shared] singleton pane, the Documents dock and main tab get entries for navigate-by-id, and HostWindowLocator is registered so panes can float into their own windows. Doing it before the chrome attaches keeps the layout's owner/factory wiring ahead of the first content realisation. Also drops the now-redundant per-VM DataTemplate blocks from App.axaml -- the single ViewLocator already resolves them -- and the unused MainWindowViewModel.DockFactory property and DockControl init flags. Assisted-by: Claude:claude-opus-4-8:Claude Codepull/3755/head
5 changed files with 58 additions and 35 deletions
Loading…
Reference in new issue