Those are “non-client” areas and are controlled by Windows. Here is the MSDN docs on the subject (the pertinent info is at the top).
Basically, you set your Window’s WindowStyle=”None”, then build your own window interface. (similar question on SO)
More Related Contents:
- inherit style from default style
- How to set foreground and background colors on a WPF Menu control?
- The calling thread must be STA, because many UI components require this
- RelativeSource binding from a ToolTip or ContextMenu
- Change color of Button when Mouse is over
- The name does not exist in the namespace error in XAML
- Any way to make a WPF textblock selectable?
- How to get a group of toggle buttons to act like radio buttons in WPF?
- How to create custom window chrome in wpf?
- WPF CommandParameter is NULL first time CanExecute is called
- Calling a parameterized constructor from XAML
- WPF: Setting the Width (and Height) as a Percentage Value
- Setting a property with an EventTrigger
- DataTrigger where value is NOT null?
- Is there a way to use data-template inheritance in WPF?
- KeyBinding in UserControl doesn’t work when TextBox has the focus
- How to disable highlighting on listbox but keep selection?
- WPF Binding StringFormat Short Date String
- WPF: Display a bool value as “Yes” / “No”
- Create contextmenus for datagrid rows
- How to set MouseOver event/trigger for border in XAML?
- Creating an instance of a nested class in XAML
- Different views / data template based on member variable
- How to make XmlnsDefinition work on the local assembly?
- How can I sort a ListBox using only XAML and no code-behind?
- Combine expander and grid (resizable expander)
- WPF: Changing Resources (colors) from the App.xaml during runtime
- WPF ComboBox without drop-down button
- WPF MenuItem.Command binding to ElementName results to System.Windows.Data Error: 4 : Cannot find source for binding with reference
- Can you use a Binding ValidationRule within 1 line in xaml?