CoreWebView2EnvironmentOptions.Language Property

Definition

Gets or sets the default display language for WebView.

public string Language { get; set; }
member this.Language : string with get, set
Public Property Language As String

Property Value

Remarks

It applies to browser UIs such as context menu and dialogs. It also applies to the accept-languages HTTP header that WebView sends to websites. The intended locale value is in the format of BCP 47 Language Tags. More information can be found from IETF BCP47.

Applies to