amaitland wrote:There is no direct equivalent that I'm aware of, you'd have to execute some javascript to change the scroll position and set some css to disable the scroll bars.
How can I do that? I'm new to programming.
If it's any help, here's my code:
- Code: Select all
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using CefSharp;
using CefSharp.WinForms;
namespace CefTest
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Init_Chrome();
}
private void Init_Chrome()
{
Cef.Initialize();
ChromiumWebBrowser myBrowser = new ChromiumWebBrowser("http://www.lipsum.com/");
myBrowser.Dock = System.Windows.Forms.DockStyle.Fill;
this.Controls.Add(myBrowser);
}
}
}
Thanks!