Hide cursor wpf WebBrowser control?

neither

<WebBrowser x:Name="wbMain" Cursor="None"></WebBrowser>

nor

*{cursor:none}

is working for me. I can't find any resources online telling me how to accomplish this. The use-case for this is an application that runs full screen meant for viewing only after the setup takes place.

Edit: I forgot to add that the css works as expected when viewing the website in the IE9 browser.

Answers


I don't know if this is a good or bad practice but you can add System.Windows.Forms reference

then

private void MouseEnter(object sender, MouseEventArgs e)
        {
            System.Windows.Forms.Cursor.Hide();
        }

        private void MouseLeave(object sender, MouseEventArgs e)
        {
            System.Windows.Forms.Cursor.Show();
        }

use this code on mouseEnter form example in web-browser control


Need Your Help

how to use tinymce content.css in rails

css ruby-on-rails-3 tinymce asset-pipeline

I need to provide tinymce a css file to take the styles from, but if I set in any file something like

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.