Styling the ToolWindow
ToolWindow is the container control that hosts all panes that are in a floating state. This article will demonstrate how to create a style targeting ToolWindow.
Targeting the ToolWindow Element
In order to style all ToolWindows in a RadDocking, you should create a style targeting ToolWindow.
Example 1: Creating an implicit style targeting ToolWindow
It is important for the implicit style targeting ToolWindow to be placed in the Application's Resources as shown in Example 1. This is due to the fact that the ToolWindows are in a separate visual tree from the MainWindow.
Figure 1: ToolWindow with disabled close button in the Office2016 theme
In order to learn how to further modify the control by extracting its ControlTemplate, read the Editing Control Templates article.