Check out example codes for "C# resize window without title bar". It will help you in understanding the concepts better.

Code Example 1

protected override CreateParams CreateParams
{
	get
	{
		CreateParams cp = base.CreateParams;
		cp.Style &= ~0xC00000;
		return cp;
	}
}

Learn ReactJs, React Native from akashmittal.com