Questions tagged [dockpanel-suite]

The Weifenluo DockPanel Suite is an open source library that extends the .NET WinForms API to support forms that can be interactively docked by a user to customise their application UI layout.

The Weifenluo DockPanel Suite is an open source library (under the MIT license) that extends the .NET WinForms API to support forms that can be interactively docked by a user to customise their application UI layout. It supports the look and feel of Visual Studio .NET and is widely used by other open source projects.

For more information visit the project website at http://dockpanelsuite.com

76 questions
0
votes
1 answer

How can I programatically Pin an AutoHide window?

I have an AutoHide ToolWindow that I want to Pin dynamically in the C# application. Thanks Chuck
Chuck
  • 41
  • 1
  • 5
0
votes
1 answer

DisposedObjectException in VB

I am using the DockPanel Suite from SourceForge and whenever I open a document and close it, but open it again, I get a an error saying "Cannot access a disposed object". What can I do to stop this from happening?
muckdog12
  • 83
  • 1
  • 1
  • 6
0
votes
1 answer

Save and Restore Pane-Specific Information in DockPanelSuite

So I have looked through existing answers tagged with dockpanel-suite and have not found what I am looking for (as I type this, it is also not appearing in the Similar Questions area). For starters, note that I am NOT asking about saving and…
0
votes
0 answers

WeifenLuo DockPanelSuite opening a new Document fails with Object reference not set to an instance of an object

A very frustrating error is being thrown in the below code: try { FrmRestrictedWebBrowser frmRWB2 = new FrmRestrictedWebBrowser(); frmRWB2.Show(dockPanel, DockState.Document); …
Dave Gordon
  • 1,815
  • 4
  • 30
  • 52
0
votes
1 answer

WeifenLuo DockPanel Suite Form Freeze on Close

recently I decided to implement the WeifenLuo DockPanel Suite into my VB.NET application. Everything works fine, until you try and close the application, where it then freezes. Nothing happens. I tried: Disposing of the DockPanel before…
TheRyan722
  • 1,029
  • 13
  • 37
0
votes
1 answer

DockPanelSuite - saving documents

In DocumentsPanel I have a few open forms, each of them is of another kind. How do I save the files that were open in a loop. In this case, this works. using (StreamWriter file = new StreamWriter ("files.txt")) { foreach…
0
votes
1 answer

How to programmatically activate a AutoHide form?

I have a DockContent with DockState = DockState.DockBottomAutoHide. How to make this window visible again? With 'Visible' I mean not to change DockState to DockState.DockBottom but just to pop it up (slide out) - same behavior as when hover the…
joe
  • 8,344
  • 9
  • 54
  • 80
0
votes
0 answers

Dragging a dock panel from one host window to another?

I'm wondering if anyone knows how to configure DockPanelSuite to allow dragging of docked windows from one dock container window to another? The demo application shows the menu option Window --> New Window, which creates a new dock container…
CoryG
  • 2,429
  • 3
  • 25
  • 60
0
votes
0 answers

Unable to access control within dockpanel-suite dock c#

I have created a simple application skeleton that allows the user to mark images that are displayed within a zoomable picturebx (Cyotek imagebox, http://cyotek.com/blog/imagebox-update-version-1-1-0-0). To make everything look 2000+, I've added the…
Sacha Viquerat
  • 329
  • 1
  • 3
  • 14
0
votes
1 answer

How to add an icon in the tab of a new document ? (dockpanel-suite)

Maybe some one can help me or tell me how to add an icon in the tab of a new document in "DockPanel Suite" ? Or what is the best way to do this ? Thank you in advance for your help and feedback. Regards, Daniel (Another point. It will be nice to do…
0
votes
1 answer

Prevent docking in a WeifenLuo DockPanelSuite tool window

We have a set of forms which dock into a series of DockPanelSuite tool panels as a pre-defined layout. That aleady works fine for these forms; no problem. But we also have some large forms which aren't well suited to docking. We would like to set…
0
votes
1 answer

WPF content in ElementHost not visible using DockPanel Suite

I have a WPF control in an ElementHost on a WinForms form. I've added the Form to a DockPanel Suite pane. The WPF content displays correctly when the Form is floating, or docked left/right/top/bottom, but when DockState is Document the WPF content…
Jack Welch
  • 115
  • 6
0
votes
1 answer

Validating XML layout for DockPanel

I got some errors while loading corrupted xml layouts for DockPanel, so I'm trying to code a function to assure that the xml layout is correct before loading it with LoadFromXml. Is there any XSD file for validate the XML saved from DockPanel? Thank…
Brujah
  • 53
  • 6
0
votes
1 answer

DisposedObjectException after closing DockContent document

I am seeing so odd behavior with DockPanelSuite when I close my documents. When I click the close 'X' at the top right of the documents the top document closes as expected (calls FormClosing event and Dispose() method of my derived DockContent…
0
votes
1 answer

DockPanel Suite - DockContent visibility

A form contains a DockPanel with an instance of DockContent which has DockState=DockState.DockBottomAutoHide and it acts as a logger view - like Visual Studio's Error list panel. So, when a logging event is added to log list, DockPanel - if is not…
DreadAngel
  • 772
  • 11
  • 30