
Hi,
As i created the docking with prism integration smaple and all the usercontrols are registered as the toolwindow in my application and titlebar color will be displayed according to my TitleBarBorder of the docking windowcolor that is specified below.
<Style x:Key="TitleBarBorder" TargetType="{x:Type Border}"><Setter Property="BorderBrush"><Setter.Value><SolidColorBrush Color="#444444"/></Setter.Value></Setter><Setter Property="BorderThickness" Value="1px"/></Style>
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.DockingWindowContainerTitleBarBackgroundInactiveBrushKey}" Color="{Binding Source={StaticResource TitleBarBorder}, Path=Color}" />
Question1. As per above code.
Now When i docked the toolwindow into the other docksite then again it changed to the theme color not according to my TitleBarBorder color.
So how to apply the titlebar backgroud color for the toolwindow and when it is docked to other docksite or the floated ,it should show the same applied titlebar background color.
Question2. How to change the height of the titlebar of any tool window which is regstered using the docking with prism integration concept.
Question3. Suppose i have two docksites and each docksite have their own toolwindow and they are interlinked to each other.When i drag the toolwindow from one docksite and dock into other docksite then it will show the docking splitter that is attached to that docked toolwindow.
3.1 So can i hide this docking splitter When i drag the toolwindow from one docksite and dock into other docksite then it will show the docking splitter that is attached to that docked toolwindow ?
3.2 Can i set the width or the style for the color on this docking splitter ?
Question 4:
I am aplying the theme for all my docking application that will aplly the theme color for all the titlebar background of the toolwindow but when i float that toolwindow which is registered using the docking with prism integration then its not showing the theme color for the titlebar background of the toolwindow.
code used is
public Shell()
{
InitializeComponent();
Color color = (Color)ColorConverter.ConvertFromString("#444444");
TintedThemeCatalog catalog = newTintedThemeCatalog("Custom", ThemeName.RoyaleNormalColor.ToString(), color);catalog.TintGroups.AddRange(
TintGroupSets.ApplicationMenu, Colors.Red);
ThemeManager.RegisterThemeCatalog("Custom", catalog);
}
[Modified 13 years ago]