HomeHomeDigitalRune Sof...DigitalRune Sof...Docking Windows...Docking Windows...Custom RenderMode for DockPanelManager?Custom RenderMode for DockPanelManager?
Previous
 
Next
New Post
9/30/2011 11:08 AM
 

Hi,

 I read the documentation and searched in this forum, but found nothing. How can I create a custom renderer for the DockPanelManager? The DockPanelRenderMode-Enumerable supports this option..

How can i add a contextmenustrip to the tab-header?

Ben S :)

 

 

 
New Post
9/30/2011 12:21 PM
 
Teddibär wrote:

Hi,

 I read the documentation and searched in this forum, but found nothing. How can I create a custom renderer for the DockPanelManager? The DockPanelRenderMode-Enumerable supports this option..

Hi Ben,

The API required to set a custom renderer is not public. It was originally planned to make the required types and members public, but there seemed to be no demand for this kind of feature, so we skipped it.

However, if you purchase a license you will get the full source code. You can simply customize an existing renderer or add your own.

Teddibär wrote:

How can i add a contextmenustrip to the tab-header?

You can set a ContextMenuStrip using the DockableForm.TabPageContextMenuStrip property. Check out the included SampleApplication.

document.TabPageContextMenuStrip = _contextMenu;

 

The context menu will be shown when the tab-header is right-clicked. Right-clicking the empty space in the tab-header panel will also show the context menu of the active document.

 
New Post
9/30/2011 1:55 PM
 

Hi Martin,

thank you for your fast support! :)

Ben

 
Previous
 
Next
HomeHomeDigitalRune Sof...DigitalRune Sof...Docking Windows...Docking Windows...Custom RenderMode for DockPanelManager?Custom RenderMode for DockPanelManager?