Consider fullscreen C# WinForms app using the approach as described in the WinForms fullscreen question running on Windows 10. When user uses the "swipe" touch gesture for scrolling (e.g. on multiline TextBox) and reaches either of the extrema there is an effect that pulls entire window in scroll direction revealing desktop. This is not desirable for fullscreen app. How can I get rid of the effect?
Minimal example:
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
FormBorderStyle = FormBorderStyle.None;
WindowState = FormWindowState.Maximized;
var tb = new TextBox() { Multiline = true,
ScrollBars = ScrollBars.Vertical,
Dock = DockStyle.Fill,
Text = string.Concat(Enumerable.Repeat("foo! ", 10000)) };
Controls.Add(tb);
}
}