When the user moves the cursor over a link, the Chromium engine displays its URL in the status bar. JavaScript code can change the text in the status bar programmatically via the window.statusproperty as well. The DotNetBrowser API provides functionality that allows you to get notifications about status bar text changes.


StatusChangedEvent indicates that the status bar text has been changed.


The following sample code demonstrates how to use this functionality:

C#

browser.StatusChangedEvent += delegate(object sender, StatusEventArgs e)
{
    string statusText = e.Text;
};

VB.NET

AddHandler browser.StatusChangedEvent,
    sub(sender As Object, e As StatusEventArgs)
        Dim statusText  As String = e.Text
    End sub