WPF AvalonDock ExpressionDark
我一直在使用 WPF 和 AvalonDock,并且想应用 AvalonDock.theme.ExpressionDark。
但是,当我应用此主题时,对接方向指示器将不会显示。
如果我只是正常应用 AvalonDock(不应用任何额外主题,而是使用默认主题),当我拖出 DockablePane 或 DocumentPane 时,它将显示一个停靠方向指示器。
但是,在我应用 ExpressionDark 主题后,此对接方向指示器没有显示。
有谁知道为什么?我该如何解决这个问题?
非常感谢。
I have been working with WPF and AvalonDock and would like to apply the AvalonDock.theme.ExpressionDark.
However, when I applied this theme, the docking direction indicator will not show up.
If I just apply the AvalonDock normally (without applying any extra theme but using the default one), it will show a docking direction indicator when I drag out a DockablePane or DocumentPane.
However, this docking direction indicator doesn't show up after I applied the ExpressionDark theme.
Does anyone know why? and how can I solve it?
Thank you very much.
ExpressionDark 主题实际上不支持任何停靠指示器,如 Expression Blend 中所示。所以这是故意完成的,你也可以说对接行为是在主题中定义的。
如果您仍然想启用停靠指示器,则需要以某种方式组合两个主题(默认主题与表达式黑暗主题),这可能有点棘手。
希望这有帮助。
The ExpressionDark theme actually does not support any docking indicators as can be seen in Expression Blend. So this is done on purpose, you can say also the docking behavior is defined in the theme.
If you still want to enable the docking indicators you will need to combine both themes (the default one with the expression dark theme) in some way which might be a bit tricky.
Hope this helps.