FlyoutDockablePane cannot be styled

May 19, 2009 at 9:41 PM

First let me say thanks for creating a great component. It appears to be very stable and is very easy to use.

I am currently restyling the various panes etc and so far I have managed to get everything looking as I need. The only thing I am unable to do is restyle the FlyoutDockablePane class as it is marked as internal so cannot be restyled. This means that whenever I enable auto hide the dockable pane reverts to the default styling. Is there a particular reason this class is internal?



May 27, 2009 at 11:23 PM

Do you know if this is slated to be fixed in the next release?

May 28, 2009 at 12:20 AM

I tried this but I can't get the system to use my styled FlyoutDockablePane.

I tried removing the resource key so it would use the type:

<font size="2" color="#0000ff"><font size="2" color="#0000ff">


</font></font><font size="2" color="#0000ff">



Style TargetType="{x:Type AvalonDock:FlyoutDockablePane}">

No dice.


Jun 9, 2009 at 8:47 AM

I 've not had any response so probably not. This worked straight away for me. It could be a scope thing i.e. are you sure your FlyoutDockablePane style is included at the correct point?

Jun 12, 2009 at 5:11 PM


yes FlyoutDockablePane is not exposed because is not supposed to be changed via template (static contructor doesn't override the defaultstyle).

so flyoutdockablepane class inherits its style from the base class DockablePane (it just add a default value for the showheader property to false).

Which kind of template do you need for this class?


Jun 17, 2009 at 8:49 AM


I am using a ControlTemplate set by a style.