Dela via


IWebViewControl.Source Property

Definition

Gets or sets the Uniform Resource Identifier (URI) source of the HTML content to display in the IWebViewControl.

public:
 property Uri ^ Source { Uri ^ get(); void set(Uri ^ value); };
Uri Source();

void Source(Uri source);
public System.Uri Source { get; set; }
var uri = iWebViewControl.source;
iWebViewControl.source = uri;
Public Property Source As Uri

Property Value

The Uniform Resource Identifier (URI) source of the HTML content to display in the IWebViewControl.

Remarks

The Source property retains its old value during navigation until the navigation is complete. During navigation, you can get the new Uniform Resource Identifier (URI) through the event arguments for the navigation events.

Applies to

See also