Note: Advice in this article will only work for DotNetBrowser 1.
See the corresponding article for DotNetBrowser 2 here.
TitleChangedEvent
indicates that the title of a document in the main frame has been changed.
To get notifications when a document’s title has been changed use the TitleChangeEvent
listener as shown in the following sample code:
C#
browser.TitleChangedEvent += delegate(object sender, TitleEventArgs e) { string mainDocumentTitle = e.Title; };
VB.NET
AddHandler browser.TitleChangedEvent, sub(sender As Object, e As TitleEventArgs) Dim mainDocumentTitle As String = e.Title End sub