Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I remove the borders/control box from a WPF Form?

Tags:

c#

forms

styles

wpf

In Windows Form, I would modify the FormBorderStyle property in the Properties pane.

Any help?

like image 357
Sergio Tapia Avatar asked Jan 03 '10 19:01

Sergio Tapia


2 Answers

Set WindowStyle to None, and ResizeMode to NoResize (either in XAML or through the Properties pane).

like image 82
itowlson Avatar answered Nov 20 '22 20:11

itowlson


Creating a splash screen is actually supported by the .NET framework, check out this form post on social.msdn.microsoft.com which points you to this walkthrough for the most performant .NET splash screen.

You can designate an image as a splashscreen using the properties window.

like image 22
Aviad P. Avatar answered Nov 20 '22 20:11

Aviad P.