Windows 10 Remove Title Bar

Windows 10 Remove Title Bars
Tip Get Rid of White Titlebars in Windows 10. In newer Windows 10 builds, Microsoft has added an option to enable/disable colors on titlebar in Settings app: 1. Press WIN+I keys together to open Settings app. Now go to ' Personalization - Colors ' section and set the option ' Show color on Start, taskbar, action center. Windows 10's Title bars. In Windows 10, when you select the Colors tab in the Personalization Settings window, turn off the Automatically pick a color from my background setting, turn on the Show color on Start, taskbar, and action center setting, and then then choose an accent color (Figure B).
How can I remove the blue border that's on top of the Window Form? (I don't know the name of it exactly.)
Josh Caswell7 Answers
You can set the Property FormBorderStyle
to none in the designer,or in code:
if by Blue Border thats on top of the Window Form
you mean titlebar, set Forms ControlBox
property to false
and Text
property to empty string (').
here's a snippet:
Nika G.Nika G.Also add this bit of code to your form to allow it to be draggable still.
Just add it right before the constructor (the method that calls InitializeComponent()
That code is from: https://jachman.wordpress.com/2006/06/08/enhanced-drag-and-move-winforms-without-having-a-titlebar/
Now to get rid of the title bar but still have a border combine the code from the other response:
this.ControlBox = false;
this.Text = String.Empty;
Download sword art online fatal bullet pc download. with this line:
this.FormBorderStyle = FormBorderStyle.FixedSingle;
Put those 3 lines of code into the form's OnLoad event and you should have a nice 'floating' form that is draggable with a thin border (use FormBorderStyle.None if you want no border).
Set FormsBorderStyle
of the Form to None
.
If you do, it's up to you how to implement the dragging and closing functionality of the window.
Maxim V. PavlovMaxim V. PavlovWindows 10 Remove Title Bar Android
I am sharing my code.form1.cs:-
Now, the designer:-
the screenshot:-NoBorderForm
Stephen Kennedy