System.Windows.Forms.WebBrowser.DocumentTitle Property

Gets the title of the document currently displayed in the System.Windows.Forms.WebBrowser control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public string DocumentTitle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property is useful, for example, when you want to display the document title in the title bar of the application. If no title has been defined for the current document, this property is set to the document location and file name.

Handle the WebBrowser.DocumentTitleChanged event to update the title in the title bar when the System.Windows.Forms.WebBrowser control navigates to a new document.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0