Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to completely hide the dock panel's caption?

$
0
0

By setting the DockManager.DockingOptions.ShowCaptionOnMouseHover property it's possible to set whether the dock panel's caption is shown only when the mouse pointer hovers over the panel's top or all the time.

This example demonstrates how to prevent the dock panel's caption from being shown for an individual dock panel all the time.

Question Comments

Added By: Leopold Cudzik at: 6/17/2014 5:27:08 AM    

Hello, thank you for this solution, however I have a question. When I undock customDockPanel2 - the one whose caption is being hidden and afterwards I hide its caption,  the panel looks quite ugly as there is no top border. So the floating panel has borders from 3 sides, however from the top, there is nothing.  Is there a workaround to paint to the top the same border as from the other 3 sides,when the caption bar is hidden?

Thanks

Added By: Olga (DevExpress Support) at: 6/17/2014 6:37:53 AM    Hello Leopold,

In order not to mix several questions in one thread, I've created a separate ticket on your behalf: Example E1940 - How to paint the top border in the same manner as other ones. Please refer to it.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>