I am working in Wpf with metro Window, is it possible to create a window which has text in the taskbar, but has no text in the title bar at the top of the application?
Currently I am using <Controls:MetroWindow.LeftWindowCommands>
and <Controls:MetroWindow.RightWindowCommands>
for customize my title bar. I have attached images, that doesn't have title text..
And below images have title.
Now my requirement is that can my application looks like in image 1 and looks like 4th image in task bar
Thanks for your help all.
Try PInvoke Method.
[DllImport("user32.dll")]
static extern int SetWindowText(IntPtr hWnd, string text);
On Window Loaded :
SetWindowText(new WindowInteropHelper(this).Handle, "Madan");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With