c# - How to fill AvalonDock 2.0 application only with AnchorableWindows - no DocumentPane -


i fill avalondock application "tool" windows without document. can manually minimize documentpane area if possible, fill small area anchorable window layoutdocumentpane's width , height zero.

problem avalondock framework's assumption there @ least single empty documentpane becomes apparent in case. though there no document, emptry space of documentpane overlapped or underlapped other tool windows near it. makes window partly invisible or under-filled.

what tried in vain far:

  1. removed layoutdocumentpane tag dockmanager declaratrion
  2. set dockwidth , dockheight of layoutdocumentpane zero
  3. manually minimized documentpane , serialize layout

any clue appreciated

there seems no way except changing source code. in collectgarbage method of layoutroot.cs, commented out following code , got wanted - avalondock application without documentpane. if there no method this, highly suggest author have option without modifying source. hope helps others me.

                if (emptypane layoutdocumentpane &&                     this.descendents().oftype<layoutdocumentpane>().count(c => c != emptypane) == 0)                     continue; 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -