CoreWebView2.DocumentTitle Property

Definition

Gets the title for the current top-level document.

public string DocumentTitle { get; }
member this.DocumentTitle : string
Public ReadOnly Property DocumentTitle As String

Property Value

Examples

this.Title = webView.CoreWebView2.DocumentTitle;

Remarks

If the document has no explicit title or is otherwise empty, a default that may or may not match the URI of the document is used.

Applies to