This is a migrated thread and some comments may be shown as answers.

RadDock Document tabs at bottom, hide quickbrowse / close

1 Answer 233 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Antony
Top achievements
Rank 1
Antony asked on 08 Jul 2009, 11:05 AM
Hi there,

What I would like to be able to do is have a seriese of docked user controls that are able to fill the screen with their tabs at the bottom of the screen and the usual Close and Quickbrowse buttons hidden. (as a nice-to-have I would also like close buttons in the tabs at the bottom!)

Obviously this is quite different from the default RadDock behaviour but I have been able to achieve it with DockingManager in the past and figure I should probably be able to upgrade.

I am using DocumentWindows so that I can Dock to the Fill position in my screen and am then doing the following to move the tabs to the bottom and then hide the buttons.

 

this.documentTabStrip1.TabStripElement.TabsPosition = Telerik.WinControls.UI.TabPositions.Bottom;

 

 

this.documentTabStrip1.RootElement.Children[0].Children[0].Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

 

My problem comes then one of the tabs is dragged to another docked position by the user, is there any way for me to perform the same changes to the DocumentTabStrip that will be created?

Also will the process for adding close buttons to the tabs be the same as it was with the DockingManager?

Thanks for any help!

-Antony

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 09 Jul 2009, 09:14 AM
Hello Antony,

Currently there is no way to detect whether the layout is split into another strip/container. We will address this issue in the first service pack of Q2 2009 and you will be able to perform some additional operations upon such notification.

Otherwise, you have more convenient way of controlling buttons visibility for a document:

this.documentWindow1.DocumentButtons = DocumentStripButtons.None;

The DocumentButtons enumeration defines which buttons should be visible (for a DocumentWindow instance).

Greetings,
Georgi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Dock
Asked by
Antony
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or