Windows 7 Status Menu style Window - wpf

I'm working on a project and I'm wondering how to get a type of window common in Windows's wireless controls, as shown in the screen shot below:
(source)
There's no close or maximize buttons, but the border is still present. My tools include Expression Blend 3 and Visual Studio 08. I was also wondering what the font used on these are, as it doesn't seem to be the normal Tahoma found in Office 7.

That font is Segoe UI. It comes with Office 2007 and Windows Vista/7.

I don't know about the font, but you can set WindowStyle=None on your Window to get the border-only effect.

Related

Change Visual Studio 2012 WPF Forms Designer Background Color

I, like many developers, like to have dark background and light text - so I use the "Dark" theme on Visual Studio. However, when developing an application for WPF (which I admittedly do less often than I should), I have noticed that this has an unintended effect of making my controls difficult to read.
Thinking there is an easy solution out there, I tried changing the fonts/colors in VS, to no avail. There does not seem to be a color property for the WPF forms designer background color. The answer to this question does not seem to be applicable to either VS 2012 or Windows 7 (not sure which), as I did experiment with the control panel but did not find a suitable setting.
Does anyone know how to make the background a different color (ideally, a medium gray in this case)? See screenshot.
I'm not sure about 2012, as I have 2015, but I had a similar issue and found the appropriate settings here in tools->options->Environment->Fonts and Colours and select the XAML Designer:

WPF Windowstyle None + Create DropShadow using Native Windows API

I want to create a borderless Window via Windowstyle=None, but still want the default OS DropShadow effect.
I do NOT want to draw the border myself because i do NOT want to set AllowTransparency=True (the application runs on low end systems where this causes very bad performance of the application).
I do also NOT want to use third party Dlls that generate a "Shell" for me.
So what is want is to call the OS native API to draw its default border for me. I tried out this answer here DropShadow for WPF Borderless Window but this didnt work for window 8.
Any suggestions would be helpful.
Thanks
Edit: Using .NET 4.0 and the solution should support Windows 7 and Windows 8
There is no native drop shadow in Windows 8. You can call the API but it won't do anything.
Metro flat design doesn't have drop shadow, unlike the glossy Vista and W7.
AFAIK without AllowsTransparency="True" you won't have that effect.

WPF Ribbon changes title bar style in XP

[EDITED]
After several tries, I found out it was the Microsoft WPF Ribbon that causes the title bar style not rendering correctly.
Application without Ribbon in XP:
Application with Ribbon in XP:
I have already set the theme to be XP style. Still not fix. It is a bug in Microsoft Ribbon or am I missing something? On Window 7, on the other hand, renders OK.
Develop on WPF C# .NET 4, VS2010.
Why do you care? this is a user setting to have Aero enabled or not in Vista or 7 and theming enabled or not in XP like in 2 and 3 pictures you sent.
In general you should ignore this. Office 2007 and 2010 with ribbon UI renders the same but because ribbons are skinning the application windows completely.
My suggestion is to either use skins and do the same or simply ignote this because if I use Vista with Aero enabled I would not like your App to look like classic Win2000 applications.
This is anyways an issue with the window title bar as it will use the default theme of the OS you are using.
I suggest you to neutralize the style by implementing a custom window style that takes the windows 7 look n feel for all windows ion your applications. Have a look at the MessageBox control from latest extended WPF toolkit.
It has a windows 7 style themse that looks exactly same on all the above OS if you use
Window.AllowsTransparency="False"
Window.WindowStyle="None"
Window.Style="{StaticResource Windows7WindowStyle}"

how to change the wpf window's icon size?

I would like to change the size of the window's icon in the xaml window.
I know that I can hide the window's title bar and create a custom title bar, but is there
any way to change the icon size alone ?
I was looking for many forums and couldnt find a proper solution.
How do I change WPF Menu's icon column size?
The above link explains for menu's icon size but I want for the window's icon
The standard window chrome is handled by the Windows.
I guess the reason for that is consistency across applications which is also the reason why I dislike the Office/Ribbon replacement of the standard chrome.
In Windows 8 Metro applications there will be no window chrome so all UI will be up to you.
In Windows 8 desktop applications (and Windows 7 applications) you will need to replace the entire chrome completely.
To save yourself some coding time, check out this solution over at CodePlex:
http://wpfwindow.codeplex.com/

Microsoft Ribbon for WPF (4.0.0.11019)

I am using the latest WPF Ribbon control downloaded from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2bfc3187-74aa-4154-a670-76ef8bc2a0b4&displaylang=en
In Windows XP, the Ribbon application window’s title bar looks like from Windows 98… or like from console window. How can I improve the appearance of tittle bar.
Answered by a Microsoft Consultant:
The RibbonWindow ships with three templates as of the October 2010 release - Classic, Aero Basic, and Aero with glass. On XP's Luna theme, we fall back to displaying the Classic look for the RibbonWindow. It should be fairly easy to retemplate RibbonWindow to achieve the native XP look - use our RibbonWindow templates in the Ribbon Source and Samples MSI as an example. If we get feedback from several customers that the Luna theme is a top request, we will definitely consider including that for our next release.

Resources