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

Customizing AutoHide windows in Docking view

2 Answers 44 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Ujjwal Lahoti
Top achievements
Rank 1
Ujjwal Lahoti asked on 16 Apr 2010, 10:07 PM
Hi,

I wanted to do customize the autohide windows. 

1. Remove the tab/icon which is used to expand the the auto hide window? I don't want to show the tab. Instead the windows would be expanded in response to a Button click or some other event. In my user interface, the icon is taking some space, which I don't want to part with. Also the icon doesn't look nice. 
2. Also I want to prevent the users from docking this window, so I want to remove the 'docking' icon.

Pardon me if I didn't use the terminology correctly. To help explain what I am trying to do, please refer to the attached image, I want to get rid of the things marked in Red box.

2 Answers, 1 is accepted

Sort by
0
Ujjwal Lahoti
Top achievements
Rank 1
answered on 19 Apr 2010, 06:35 PM
Attaching the image here.

Any replies please???
0
Konstantina
Telerik team
answered on 22 Apr 2010, 08:31 AM
Hi Ujjwal Lahoti,

Thank you for your interest in our controls.

By setting the CanUserPin property you can remove the Pin button. Then, if you edit the Docking control in Expression Blend, right-click it and choose from the menu Edit Template->Edit a Copy. Blend will generate for you the ControlTemplate of the Docking control. In it you have to find all AutoHideAreas and set theirs Visibility property to Collapsed. Using a simple binding to a ToggleButton I have demonstrated how you can show and hide the Pane.
Attached you will find a sample project in which this is illustrated.

If you have further questions please let us know.

All the best,
Konstantina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Docking
Asked by
Ujjwal Lahoti
Top achievements
Rank 1
Answers by
Ujjwal Lahoti
Top achievements
Rank 1
Konstantina
Telerik team
Share this question
or