Current Tool Window always showing in Windows XP style.
Can you show me how to styling a Tool Window to default style of Windows OS (Ex: windows 10).
I am setting Themes to "LunaNormal"
Hello Cao,
You could try hooking the ToolWindowLoaded and set the ‘UseOSNonClientArea’ property, which is use to set indicating whether the content should use the operating system.
Something like this:
private void mainDockManager_ToolWindowLoaded(object sender, Infragistics.Windows.DockManager.Events.PaneToolWindowEventArgs e) { e.Window.UseOSNonClientArea = false;
}
Let me know if this helped.
Hi Divya Jain,
Thank you for your support and answer.
I would like to confirm again.
1- If I keep the settings XamDockManager.Theme= "LunaNormal" and set e.Window.UseOSNonClientArea = false; then ToolWindow style is still XP style. When ignore Theme setting, the style of ToolWindow is changed. Is that true?
2- When ignore Theme setting, the style of ToolWindow is changed same as below image but I want that style same Main Window. Could you show me how to change style ToolWindow (Floating) same as standard WPF window (MainWindow) ?